yittg commented on issue #4515:
URL: https://github.com/apache/iceberg/issues/4515#issuecomment-1094462606

   @openinx , actually it happens in calcite rel converter.
   Only pure literal tuples can be converted to LogicalValues node, otherwise 
it will be converted multiple LogicalProject -> LogicalUnion nodes.
   
   FYR:
   
https://github.com/apache/calcite/blob/32babcb90aa5940bdd75760021abab6459a9cca4/core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java#L4472-L4475
   
https://github.com/apache/calcite/blob/32babcb90aa5940bdd75760021abab6459a9cca4/core/src/main/java/org/apache/calcite/sql2rel/SqlToRelConverter.java#L1733-L1741


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

Reply via email to