pub fn read_sql_table_columns<C: SqlConnection>(
conn: &C,
table_name: &str,
columns: &[&str],
) -> Result<DataFrame, IoError>Expand description
Read a subset of columns from a SQL table.
Matches pd.read_sql_table(table, con, columns=[...]). The named
columns are emitted in the requested order. Each column name must
satisfy the same alphanumeric+underscore rule as table_name to
keep the projection injection-safe; mismatched names return
IoError::Sql. Empty columns is rejected (pandas raises in
the same case rather than producing an empty SELECT).