suibianwanwank commented on code in PR #4109:
URL: https://github.com/apache/calcite/pull/4109#discussion_r1897077340


##########
core/src/main/java/org/apache/calcite/rel/metadata/RelMdColumnOrigins.java:
##########
@@ -303,6 +328,17 @@ private static Set<RelColumnOrigin> 
getMultipleColumns(RexNode rexNode, RelNode
             }
             return null;
           }
+
+          @Override public Void visitFieldAccess(RexFieldAccess fieldAccess) {

Review Comment:
   I'm not sure I fully understand what you mean. There is a case where the 
RelNode that calls getColumnOrigin is not the top-level RelNode, so it may not 
get the original table.



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