mihaibudiu opened a new pull request, #5118:
URL: https://github.com/apache/calcite/pull/5118

   ## Jira Link
   
   [CALCITE-7669](https://issues.apache.org/jira/browse/CALCITE-7669)
   
   ## Changes Proposed
   
   There are two separate commits, if independent interest. The first commit 
only strengthens the validator for rejecting UNNEST on the right side of some 
JOIN operators.
   
   The semantics of the UNNEST operator changes depending on conformance: for 
Presto/Trino UNNEST(a) where a is a ROW ARRAY produces a single column; for 
other conformances it produces as many columns as there are fields in ROW.
   
   This PR makes the choice of semantics explicit at all levels of the 
representation: the Uncollect operator, and the Enumerable representation by 
adding a new boolean flag to control the behavior. The flag clearly affects 
type inference too.
   
   This PR is a stand-alone fragment extracted from #5031


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

Reply via email to