mihaibudiu commented on code in PR #4398:
URL: https://github.com/apache/calcite/pull/4398#discussion_r2107652689


##########
core/src/main/java/org/apache/calcite/sql2rel/RelDecorrelator.java:
##########
@@ -331,6 +333,25 @@ protected RelNode decorrelate(RelNode root) {
 
     final Frame frame = getInvoke(root, false, null);
     if (frame != null) {
+      // Check if the frame has more fields than the original and discard the 
extra ones

Review Comment:
   Such an assertion should be added to the Frame constructor. Isn't this true 
for all frames?



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