Copilot commented on code in PR #51028:
URL: https://github.com/apache/doris/pull/51028#discussion_r2095181430


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java:
##########
@@ -555,8 +555,8 @@ protected void splitFragments(PhysicalPlan resultPlan) {
             Optional<TableIf> table = Optional.empty();
             if (output instanceof SlotReference) {
                 SlotReference slotReference = (SlotReference) output;
-                column = slotReference.getColumn();
-                table = slotReference.getTable();
+                column = slotReference.getOneLevelColumn();

Review Comment:
   The usage of getOneLevelColumn() (and getOneLevelTable()) in NereidsPlanner 
differs from the getOriginalColumn() (and getOriginalTable()) approach used in 
other parts of the code. Please ensure that this alternative method is 
intentional and consistent with the intended handling of view metadata.



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