Skip to content

Commit

Permalink
fix(polars): use value type of array type for int_ranges construction
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Apr 1, 2024
1 parent 9cbde82 commit c24c54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/polars/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ def execute_integer_range(op, **kw):
)
step = op.step.value

dtype = PolarsType.from_ibis(op.dtype)
dtype = PolarsType.from_ibis(op.dtype.value_type)
empty = pl.int_ranges(0, 0, dtype=dtype)

if step == 0:
Expand Down

0 comments on commit c24c54e

Please sign in to comment.