SourabhBadhya commented on code in PR #3281:
URL: https://github.com/apache/hive/pull/3281#discussion_r881219364


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -7934,6 +7958,45 @@ protected Operator genFileSinkPlan(String dest, QB qb, 
Operator input)
     return output;
   }
 
+  private Path getCTASDestinationTableLocation(CreateTableDesc tblDesc, 
boolean enableSuffixing) throws SemanticException {

Review Comment:
   Create table flow happens at the DDLTask which is after the query is 
analyzed, compiled & data is written in CTAS AFAIK. Hence this path is set 
before the create table flow. This path is used by the FileSinkOperators to 
write the data.



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