EmmyMiao87 commented on a change in pull request #1162: Add support column 
reference in LOAD statement
URL: https://github.com/apache/incubator-doris/pull/1162#discussion_r284156312
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/analysis/DataDescription.java
 ##########
 @@ -216,6 +244,12 @@ private void checkColumnMapping() throws 
AnalysisException {
 
             parsedExprMap.put(column, child1);
 
+            if (!(child1 instanceof FunctionCallExpr)) {
+                // only just for pass later check
+                columnToFunction.put(column, Pair.create("__slot_ref", 
Lists.newArrayList()));
 
 Review comment:
   ```suggestion
                   columnToFunction.put(column, Pair.create("slot_ref", 
Lists.newArrayList()));
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to