KiranVelumuri commented on code in PR #5651:
URL: https://github.com/apache/hive/pull/5651#discussion_r2137260145


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -5085,6 +5126,11 @@ RowResolver handleInsertStatementSpec(List<ExprNodeDesc> 
col_list, String dest,
       return outputRR;
     }
     if(targetTableSchema.size() != col_list.size()) {
+      if(!HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_CBO_ENABLED)
+              && 
col_list.get(0).getClass().equals(ExprNodeGenericFuncDesc.class)

Review Comment:
   no, it is representative of the complex type like array of struct.



-- 
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: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to