VenuReddy2103 commented on code in PR #6330:
URL: https://github.com/apache/hive/pull/6330#discussion_r2910074484
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/materialized/alter/rebuild/AlterMaterializedViewRebuildAnalyzer.java:
##########
@@ -206,8 +206,7 @@ private ASTNode getRewrittenAST(TableName tableName) throws
SemanticException {
rewrittenAST = ParseUtils.parse(rewrittenInsertStatement, ctx);
this.ctx.addSubContext(ctx);
- if (!this.ctx.isExplainPlan() && (AcidUtils.isTransactionalTable(table)
||
- table.isNonNative() &&
table.getStorageHandler().areSnapshotsSupported())) {
+ if (!this.ctx.isExplainPlan() &&
(AcidUtils.isTransactionalTable(table))) {
Review Comment:
When the materialized view is stored in Hive ACID with source table as an
iceberg, it would still fail. Mentioned in
https://issues.apache.org/jira/browse/HIVE-29496. Can close it as duplicate
once that is fixed too.
--
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]