morrySnow commented on code in PR #53918:
URL: https://github.com/apache/doris/pull/53918#discussion_r2238166504


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsDataDescription.java:
##########
@@ -1166,8 +1167,10 @@ public DataDescription toDataDescription(ConnectContext 
ctx) throws AnalysisExce
         List<Expr> legacyColumnMappingList = new ArrayList<>();
         if (this.columnMappingList != null && 
!this.columnMappingList.isEmpty()) {
             for (Expression expression : this.columnMappingList) {
-                if (expression != null) {
-                    
legacyColumnMappingList.add(PlanUtils.translateToLegacyExpr(expression, null, 
ctx));
+                if (expression != null && expression instanceof EqualTo) {

Review Comment:
   expression must be EqualTo, if so add else and throw excption in it



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