Reading CSV lazy vs eager behaves inconsistently #21094
Labels
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Checks
Reproducible example
Difference between
read_csv
andscan_csv
Without
new_columns
Log output
Issue description
I noticed that there is an inconsistency between using
read_csv
andscan_csv
. When reding the file providing bothschema
and andnew_columns
parameters,scan_csv
and adds an additional column. The same thing seems to work withread_csv
just fine.If
new_columns
is omitted, the output looks as expected.Expected behavior
The output should look the same?!
Installed versions
The text was updated successfully, but these errors were encountered: