Indian-boult opened a new pull request, #20383:
URL: https://github.com/apache/pinot/pull/20383

   Fixes #20382
   
   `computeInOperands` in `ServerPlanRequestUtils` now skips null keys before 
it builds and sorts the IN list, because a null key never matches in a semi 
join. When no non-null key is left, `attachDynamicFilter` uses a constant false 
filter, as it already did for an empty right side.
   
   I added a `semi_join_null_keys` case to `SemiJoins.json` with nine queries, 
one per key type plus two subqueries that return only nulls, all with null 
handling on. On master all nine fail with the errors in the issue. With the 
change the full `ResourceBasedQueriesTest` passes. Spotless, checkstyle and 
license checks pass on pinot-query-runtime.
   


-- 
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]

  • [PR] Fix IN subqueries that ret... Indian-boult (via GitHub) via commits

Reply via email to