read_csv() with no args causes segfault
Dialga opened this issue · 0 comments
Dialga commented
Checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of the Polars CLI.
Reproducible example
polars -c "select*from read_csv()"
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-sql-0.36.2/src/table_functions.rs:76:49:
index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
Issue description
Just came across this project, thought I'd give it a try, it crashed immediately.
Expected behavior
Some kind of error but no crash
Installed version
0.6.0