[
https://issues.apache.org/jira/browse/HIVE-24527?focusedWorklogId=523718&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-523718
]
ASF GitHub Bot logged work on HIVE-24527:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Dec/20 06:48
Start Date: 14/Dec/20 06:48
Worklog Time Spent: 10m
Work Description: kasakrisz commented on a change in pull request #1769:
URL: https://github.com/apache/hive/pull/1769#discussion_r542123745
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -13928,13 +13929,16 @@ private void validateCreateView()
throw new SemanticException("View definition references
materialized view " + alias);
}
if (createVwDesc.isRewriteEnabled() &&
!AcidUtils.isTransactionalTable(table)) {
- throw new SemanticException("Automatic rewriting for materialized
view cannot "
- + "be enabled if the materialized view uses non-transactional
tables");
+ usesNonTransactional = true;
}
} catch (HiveException ex) {
throw new SemanticException(ex);
}
}
+ if (usesNonTransactional) {
+ LOG.warn("Automatic rewriting for materialized view cannot "
Review comment:
Should this be written into the Console too to notify the user about
this behavior?
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 523718)
Time Spent: 20m (was: 10m)
> Allow triggering materialized view rewriting for external tables
> ----------------------------------------------------------------
>
> Key: HIVE-24527
> URL: https://issues.apache.org/jira/browse/HIVE-24527
> Project: Hive
> Issue Type: Sub-task
> Components: Materialized views
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Although we will not be able to check data staleness, this can be useful for
> debugging purposes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)