[
https://issues.apache.org/jira/browse/HIVE-18394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493036#comment-16493036
]
Hive QA commented on HIVE-18394:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12925300/HIVE-18394.03.patch
{color:green}SUCCESS:{color} +1 due to 41 test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 14409 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/11318/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11318/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11318/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12925300 - PreCommit-HIVE-Build
> Materialized view: "Create Materialized View" should default to rewritable
> ones
> -------------------------------------------------------------------------------
>
> Key: HIVE-18394
> URL: https://issues.apache.org/jira/browse/HIVE-18394
> Project: Hive
> Issue Type: Improvement
> Components: Materialized views
> Reporter: Gopal V
> Assignee: Jesus Camacho Rodriguez
> Priority: Blocker
> Labels: TODOC3.0
> Attachments: HIVE-18394.01.patch, HIVE-18394.02.patch,
> HIVE-18394.03.patch, HIVE-18394.patch
>
>
> This is a usability ticket, since it is possible to end up creating
> materialized views and realize that they need an additional flag to be picked
> up by the optimizer to do rewrites to.
> {code:sql}
> create materialized view ca as select * from customer, customer_address where
> c_current_addr_sk = ca_address_sk;
> set hive.materializedview.rewriting=true;
> select count(1) from customer, customer_address where c_current_addr_sk =
> ca_address_sk; -- does not use materialized view
> {code}
> Needs another step
> {code:sql}
> alter materialized view ca enable rewrite;
> {code}
> And then, it kicks in
> {code:sql}
> select count(1) from customer, customer_address where c_current_addr_sk =
> ca_address_sk;
> OK
> 12000000
> Time taken: 0.494 seconds, Fetched: 1 row(s)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)