Skip to content

Commit

Permalink
ranges_update
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm0000 committed Sep 18, 2024
1 parent 320fc89 commit f2b99c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dean_utils/polars_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,10 @@ def pl_write_delta_append(
assert (
df.filter(
(pl.col(partition_col) < pl.col("min_id"))
| (pl.col(partition_col) > pl.col("max_id"))
| (
(pl.col(partition_col) > pl.col("max_id"))
& (pl.col("node_id_range") < pl.col("node_id_range").max())
)
).height
== 0
)
Expand Down

0 comments on commit f2b99c7

Please sign in to comment.