abp002 opened a new pull request, #26578: URL: https://github.com/apache/datafusion/pull/26578
## Which issue does this PR close? - Closes #26568. ## Rationale for this change `x NOT IN (subquery)` keeps a build row whose key is a dictionary entry pointing at a NULL value. `NULL NOT IN (5, 6)` is UNKNOWN, so the row should be dropped, as it is when the key is a physical NULL. ## What changes are included in this PR? The final step of the uncorrelated null-aware `LeftAnti` join now checks the logical nulls of the build key instead of `is_null`. They are computed once with the build side, reusing what #25693 added for `LeftMark`, so the field and its getter are renamed to `null_aware_build_key_nulls`. ## What is the testing strategy for this PR? New `test_null_aware_left_anti_build_logical_null` with the case from the issue. It fails without the fix. ## Are there any user-facing changes? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
