You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2021/06/11 06:59:00 UTC
[jira] [Assigned] (HIVE-25240) Query Text based MaterializedView
rewrite if subqueries
[ https://issues.apache.org/jira/browse/HIVE-25240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krisztian Kasa reassigned HIVE-25240:
-------------------------------------
> Query Text based MaterializedView rewrite if 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
>
> {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)