Pengcheng Xiong created HIVE-14563: -------------------------------------- Summary: 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
{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)