vvysotskyi opened a new pull request #1441: DRILL-6703: Query with complex 
expressions in lateral and unnest fails with CannotPlanException
URL: https://github.com/apache/drill/pull/1441
 
 
   Initially to handle unnest with complex calls was introduced 
`ProjectComplexRexNodeCorrelateTransposeRule`. But this rule only matched 
`LogicalCorrelate -> Uncollect -> LogicalProject` pattern. So all other 
combinations, which have `LogicalCorrelate`, `Uncollect` and `LogicalProject` 
with rel nodes between `LogicalCorrelate` and `Uncollect` weren't handled.
   
   The solution proposed in this PR is to make visitor based on 
`ProjectComplexRexNodeCorrelateTransposeRule` and apply it before applying 
rules, so all possible cases will be handled correctly.
   
   For details please see 
[DRILL-6703](https://issues.apache.org/jira/browse/DRILL-6703).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to