Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.2
Description
Rewriting fails on following materialized view and query (script is also attached):
create materialized view view2 stored as orc as (select prod_id, cust_id, store_id, sale_date, qty, amt, descr from sales where cust_id in (1,2,3,4,5));
explain extended select prod_id, cust_id from sales where cust_id in (5,1,2,3,4);
Attachments
Attachments
Issue Links
- fixes
-
HIVE-22806 Missing materialized view rewrite in case the filter is further narrowed
- Closed
-
HIVE-20473 Optimization for materialized views
- Closed
- incorporates
-
HIVE-22258 Rewriting fails for `IN` clauses in MV and query when we use equals or subset in the query
- Closed
-
HIVE-22259 Rewriting fails for `BETWEEN` clauses with different ranges in MV and query
- Closed
- links to