Aleksandr Efimov created IMPALA-15469:
-----------------------------------------

             Summary: Calcite planner: Correct outer-join value transfer 
registration
                 Key: IMPALA-15469
                 URL: https://issues.apache.org/jira/browse/IMPALA-15469
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Aleksandr Efimov
            Assignee: Aleksandr Efimov


On master 2f022a5ca0fc99670bcf197a1f89016cdf78d114, Calcite loses safe value 
transfer through a grouped RHS of LEFT JOIN, allows forbidden directions for 
RIGHT/FULL JOIN, and mutates metadata shared with child joins. Direct compiler 
tests bypass fallback: OriginalPlanner passes all 11 cases, Calcite fails 8.

In the LEFT-aggregate-plus-INNER case, the fact scan also misses the upper join 
runtime filter. The fix uses the aggregate result tuple and clause-local join 
metadata with the correct operator and nullable tuple IDs.

Native Java build and 23 Maven tests pass, including the generated-filter 
assertion. Engine result parity, performance and full upstream precommit remain 
untested. Related: IMPALA-14105 and IMPALA-13587.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to