You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2018/05/12 15:17:00 UTC
[jira] [Resolved] (HIVE-18666) Materialized view: "create
materialized enable rewrite" should fail if rewriting is not possible
[ https://issues.apache.org/jira/browse/HIVE-18666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesus Camacho Rodriguez resolved HIVE-18666.
--------------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
This should be fixed now, please reopen if you still see the issue.
> Materialized view: "create materialized enable rewrite" should fail if rewriting is not possible
> ------------------------------------------------------------------------------------------------
>
> Key: HIVE-18666
> URL: https://issues.apache.org/jira/browse/HIVE-18666
> Project: Hive
> Issue Type: Bug
> Components: Materialized views
> Reporter: Gopal V
> Assignee: Jesus Camacho Rodriguez
> Priority: Critical
> Fix For: 3.0.0
>
>
> {code}
> CREATE MATERIALIZED VIEW TEST_AGG ENABLE REWRITE AS
> select ... from ext_Table;
> {code}
> works, but then
> {code}
> alter materialized view TEST_AGG enable rewrite;
> {code}
> fails with {{SemanticException Automatic rewriting for materialized view cannot be enabled if the materialized view uses non-transactional tables}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)