pub async fn fetch_mysql_columns(
connection: &str,
remote_table: &str,
) -> Result<Vec<MySqlColumn>>Expand description
Connects to the remote MySQL instance and reads the column list of
remote_table from INFORMATION_SCHEMA.COLUMNS. Each column keeps its
driver-reported type, so callers decide which columns to map to a
GreptimeDB ConcreteDataType.