You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2019/01/30 23:08:00 UTC

[jira] [Resolved] (IMPALA-7919) Add predicates line in plan output for partition key predicates

     [ https://issues.apache.org/jira/browse/IMPALA-7919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rogers resolved IMPALA-7919.
---------------------------------
    Resolution: Fixed

> Add predicates line in plan output for partition key predicates
> ---------------------------------------------------------------
>
>                 Key: IMPALA-7919
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7919
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>            Reporter: Greg Rahn
>            Assignee: Paul Rogers
>            Priority: Major
>              Labels: planner, ramp-up
>
> When there is a predicate on a partitioned table's partition key column the SCAN node does not print the "predicates" line as it would if the table was not partitioned. IMO predicates should always be included in the nodes where they are applied irregardless of partitioning or not to make it clear.
> Query:
> {noformat}
> select * from t1 where part_key=42;
> {noformat}
> From a non-partitioned table:
> {noformat}
> 00:SCAN HDFS [default.t1]
>    partitions=1/1 files=2 size=10B
>    predicates: default.t1.part_key = 42
> {noformat}
> From a partitioned table:
> {noformat}
> 00:SCAN HDFS [default.t1]
>    partitions=1/2 files=1 size=2B
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org