hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18005) Improve size estimation for array() to be not 0
Date Tue, 05 Dec 2017 10:00:12 GMT

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

Zoltan Haindrich updated HIVE-18005:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

pushed to master. Thank you Vineet for reviewing the changes!

> Improve size estimation for array() to be not 0
> -----------------------------------------------
>
>                 Key: HIVE-18005
>                 URL: https://issues.apache.org/jira/browse/HIVE-18005
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Statistics
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18005.01.patch, HIVE-18005.01.patch, HIVE-18005.02.patch
>
>
> happens only in case the array is not from a column; and the array contains no column
references
> {code}
> EXPLAIN
> SELECT sort_array(array("b", "d", "c", "a")),array("1","2") FROM t
> ...
>              Statistics: Num rows: 1 Data size: 0 Basic stats: COMPLETE Column stats:
COMPLETE
>              ListSink
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message