[ 
https://issues.apache.org/jira/browse/HIVE-18163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16270631#comment-16270631
 ] 

Zoltan Haindrich commented on HIVE-18163:
-----------------------------------------

I think the following usecase was not supported before; and it wont be 
supported after this patch either:

* user1 opens a session on HS2 instance#1 ; MV cache loads
* user2 opens a session on HS2 instance#2
* user2 creates a materialized view
* user1's session is not aware of the new view; I think there is no way to 
reload the MV cache.... so the only option would be to restart the HS2


> Stats: create materialized view should also collect stats
> ---------------------------------------------------------
>
>                 Key: HIVE-18163
>                 URL: https://issues.apache.org/jira/browse/HIVE-18163
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Statistics
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>         Attachments: HIVE-18163.01.patch
>
>
> not having basic stats on the materialized view may cause it to be "ruled 
> out" as a viable alternative by the cbo.
> repro set {{set hive.stats.deserialization.factor=10.0}} in 
> {{ql/src/test/queries/clientpositive/materialized_view_create_rewrite.q}}
> blocks: HIVE-18149



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to