panic when executing sql expression with invalid column #19426
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
rust
Related to Rust Polars
Checks
Reproducible example
Log output
Issue description
running that execute panics in /polars-sql-0.43.1/src/sql_expr.rs on line 389 when you try to unwrap None value
Expected behavior
the expected result of the execute function should be something like
Err(Context { error: Context { error: ColumnNotFound(ErrString("unable to find column \"nonexistent_col\"; valid columns: [\"col_1\"]")), msg: ErrString("'filter' failed") }, msg: ErrString("'select' input failed to resolve") })
Installed versions
polars = { version = "0.43.1", default-features = false, optional = false, features = [
"ipc_streaming",
"lazy",
"fmt",
"parquet",
"sql",
] }
The text was updated successfully, but these errors were encountered: