Skip to content

Commit

Permalink
chore(python): Set delta version check higher (#20153)
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-elgreco authored Dec 5, 2024
1 parent c346fc2 commit 3fb10e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4449,7 +4449,7 @@ def write_delta(
if isinstance(target, (str, Path)):
target = _resolve_delta_lake_uri(str(target), strict=False)

if Version(delta_version) >= Version("0.22.3"):
if Version(delta_version) >= Version("0.23.0"):
data = self.to_arrow(compat_level=CompatLevel.newest())
else:
data = self.to_arrow()
Expand Down

0 comments on commit 3fb10e8

Please sign in to comment.