deniskuzZ commented on code in PR #3993:
URL: https://github.com/apache/hive/pull/3993#discussion_r1089213321
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -7878,6 +7878,10 @@ protected Operator genFileSinkPlan(String dest, QB qb,
Operator input)
throw new SemanticException("Unknown destination type: " + destType);
}
+ if (!(destType == QBMetaData.DEST_DFS_FILE && qb.getIsQuery())) {
Review Comment:
@kasakrisz, could you please elaborate on if condition? what if
destType=DEST_LOCAL_FILE?
--
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]