Inconsistent raise of OverflowError with big integers #14992
Labels
A-input-parsing
Area: parsing input arguments
bug
Something isn't working
P-medium
Priority: medium
python
Related to Python Polars
Checks
Reproducible example
Log output
Issue description
The issue does not happen when removing the first 'int' column.
The issue does not happen when running
pl.from_dicts([{'big_int': BIG_INT }])
beforepl.from_dicts([{'int':1, 'big_int': BIG_INT}])
Passing a schema does not help:
pl.from_dicts([{'int':1, 'big_int': BIG_INT}], schema={'int': pl.Int64, 'big_int': pl.Float64})
Expected behavior
Should construct a valid dataframe or try to cast to Float64 consistently.
@stinodego
Installed versions
The text was updated successfully, but these errors were encountered: