pvary commented on a change in pull request #2243:
URL: https://github.com/apache/hive/pull/2243#discussion_r633490901
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/TaskCompiler.java
##########
@@ -134,6 +135,16 @@ public void compile(final ParseContext pCtx,
boolean isCStats = pCtx.getQueryProperties().isAnalyzeRewrite();
int outerQueryLimit = pCtx.getQueryProperties().getOuterQueryLimit();
+ boolean directInsertCtas = false;
+ if (pCtx.getCreateTable() != null &&
pCtx.getCreateTable().getStorageHandler() != null) {
+ try {
+ directInsertCtas =
+ HiveUtils.getStorageHandler(conf,
pCtx.getCreateTable().getStorageHandler()).directInsertCTAS();
+ } catch (HiveException e) {
Review comment:
When do we get `HiveException`?
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]