[ https://issues.apache.org/jira/browse/HIVE-25240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-25240: ---------------------------------- Labels: CBO materializedviews pull-request-available (was: CBO materializedviews) > Query Text based MaterializedView rewrite of subqueries > ------------------------------------------------------- > > Key: HIVE-25240 > URL: https://issues.apache.org/jira/browse/HIVE-25240 > Project: Hive > Issue Type: Improvement > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: CBO, materializedviews, pull-request-available > Fix For: 4.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > {code} > create materialized view mat1 as > select col0 from t1 where col0 > 1; > explain cbo > select col0 from > (select col0 from t1 where col0 > 1) sub > where col0 = 10; > {code} > {code} > HiveProject(col0=[CAST(10):INTEGER]) > HiveFilter(condition=[=($0, 10)]) > HiveTableScan(table=[[default, mat1]], table:alias=[default.mat1]) > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)