Skip to content

Conversation

J-Meyers
Copy link
Contributor

@J-Meyers J-Meyers commented Oct 14, 2025

Takes some changes from #477 as getting it to be reasonable and generic within duckdb is proving to be difficult rather than just simple sql handling. Trying to break that down into small PRs like this as much as I can, but keeping it up for history.

This adds != filtering, which should be useful on partitioned datasets where this is the partition column (or was at the time of writing), adds parenthesis for some clarity and to prevent any additional issues arising from order of operations as the function is eventually used in more complex contexts.

I checked and support for pushing down not equals predicates was explicitly added to duckdb-delta

Adds support for only parsing one side of an AND expression, I'm not sure how needed it is without the complex parsing (I couldn't find a repro without it), but logically it seems more consistent to always try and filter out as much as possible, rather than rely on subsequent calls from the generate expressions which parses each of them out.

@Mytherin Mytherin changed the base branch from v1.4-andium to main October 14, 2025 10:18
@Mytherin Mytherin changed the base branch from main to v1.4-andium October 14, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant