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

Jesus Camacho Rodriguez commented on HIVE-19191:
------------------------------------------------

May be worth exposing factor as a parameter, what do you think [~ashutoshc]?

> Assertion error while running materialized view rewriting
> ---------------------------------------------------------
>
>                 Key: HIVE-19191
>                 URL: https://issues.apache.org/jira/browse/HIVE-19191
>             Project: Hive
>          Issue Type: Bug
>          Components: Materialized views
>    Affects Versions: 3.0.0
>            Reporter: Nita Dembla
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>         Attachments: HIVE-19191.patch
>
>
> {code:sql}
> jdbc:hive2://localhost:10007/tpcds_bin_par> explain select 
> w_warehouse_name,avg(inv_quantity_on_hand)  from inventory ,warehouse where 
> inv_warehouse_sk = w_warehouse_sk group by w_warehouse_name;
> Error: Error running query: java.lang.AssertionError: rel 
> [rel#3663:HiveProject.HIVE.[](input=rel#3662:Subset#8.HIVE.[],$f0=$0,$f1=/($1,
>  $2))] has lower cost {1.248 rows, 1.248 cpu, 0.0 io} than best cost 
> {8.963453683875E8 rows, 7.967514387E8 cpu, 0.0 io} of subset 
> [rel#3664:Subset#9.HIVE.[]] (state=,code=0)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to