Skip to content

Commit

Permalink
Remove broken check.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed May 23, 2024
1 parent 9a17e80 commit ffb5884
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions py-polars/polars/io/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ def _check_if_delta_available() -> None:
def _check_for_unsupported_types(dtypes: list[DataType]) -> None:
schema_dtypes = unpack_dtypes(*dtypes)
unsupported_types = {Time, Null}
# Note that this overlap check does NOT work correctly for Categorical, so
# if Categorical is added back to unsupported_types a different check will
# need to be used.
overlap = schema_dtypes & unsupported_types

if overlap:
Expand Down

0 comments on commit ffb5884

Please sign in to comment.