Tim Armstrong created IMPALA-8848:
-------------------------------------
Summary: Cardinality of UnionNode does not handle missing input
cardinality correctly
Key: IMPALA-8848
URL: https://issues.apache.org/jira/browse/IMPALA-8848
Project: IMPALA
Issue Type: Bug
Components: Frontend
Affects Versions: Impala 3.3.0
Reporter: Tim Armstrong
Assignee: Tim Armstrong
Attachments: profile_4d48b2a3bb0236f1_bfa8157d00000000
{noformat}
| 35:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=28B cardinality=0
| | in pipelines: 75(GETNEXT)
| |
| 75:AGGREGATE [FINALIZE]
| | output: sum:merge((((ws_ext_list_price - ws_ext_wholesale_cost -
ws_ext_discount_amt) + ws_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name,
c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=128.00MB mem-reservation=34.00MB spill-buffer=2.00MB
thread-reservation=0
| | tuple-ids=81 row-size=104B cardinality=unavailable
| | in pipelines: 75(GETNEXT), 36(OPEN)
{noformat}
I expect that the cardinality should be unavailable, not 0.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)