kasakrisz commented on a change in pull request #1706:
URL: https://github.com/apache/hive/pull/1706#discussion_r539972579



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/Context.java
##########
@@ -336,6 +344,9 @@ private Context(Configuration conf, String executionId)  {
     opContext = new CompilationOpContext();
 
     viewsTokenRewriteStreams = new HashMap<>();
+    enableUnparse =

Review comment:
       added

##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java
##########
@@ -57,7 +57,7 @@ public void analyzeInternal(ASTNode root) throws 
SemanticException {
 
     ASTNode tableTree = (ASTNode) root.getChild(0);
     TableName tableName = getQualifiedTableName(tableTree);
-    if (ctx.enableUnparse()) {
+    if (ctx.isScheduledQuery()) {
       unparseTranslator.addTableNameTranslation(tableTree, 
SessionState.get().getCurrentDatabase());

Review comment:
       added




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

Reply via email to