veghlaci05 commented on code in PR #3868:
URL: https://github.com/apache/hive/pull/3868#discussion_r1081169312


##########
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/views/MaterializedViewRewritingRelVisitor.java:
##########
@@ -127,7 +129,8 @@ public void visit(RelNode node, int ordinal, RelNode 
parent) {
             // If it is not a materialized view, we do not rewrite it
             throw new ReturnedValue(false);
           }
-          if (containsAggregate && 
!AcidUtils.isFullAcidTable(hiveTable.getHiveTableMD())) {
+          fullAcidView = AcidUtils.isFullAcidTable(hiveTable.getHiveTableMD());

Review Comment:
   Is it possible to pass it through constructor? Since this class did not have 
static utility methods calls until now, I would try to avoid introducing it.



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