You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/08/18 05:28:20 UTC
[jira] [Updated] (HIVE-14563) StatsOptimizer treats NULL in a wrong
way
[ https://issues.apache.org/jira/browse/HIVE-14563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pengcheng Xiong updated HIVE-14563:
-----------------------------------
Attachment: HIVE-14563.01.patch
[~ashutoshc] or [~gopalv], could u take a look? Thanks.
> StatsOptimizer treats NULL in a wrong way
> -----------------------------------------
>
> Key: HIVE-14563
> URL: https://issues.apache.org/jira/browse/HIVE-14563
> Project: Hive
> Issue Type: Bug
> Reporter: Pengcheng Xiong
> Assignee: Pengcheng Xiong
> Attachments: HIVE-14563.01.patch
>
>
> {code}
> OSTHOOK: query: explain select count(key) from (select null as key from src)src
> POSTHOOK: type: QUERY
> STAGE DEPENDENCIES:
> Stage-0 is a root stage
> STAGE PLANS:
> Stage: Stage-0
> Fetch Operator
> limit: 1
> Processor Tree:
> ListSink
> PREHOOK: query: select count(key) from (select null as key from src)src
> PREHOOK: type: QUERY
> PREHOOK: Input: default@src
> #### A masked pattern was here ####
> POSTHOOK: query: select count(key) from (select null as key from src)src
> POSTHOOK: type: QUERY
> POSTHOOK: Input: default@src
> #### A masked pattern was here ####
> 500
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)