Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.3.1
-
None
-
None
Description
This only happens if all partitions are filtered out and we use the table estimate.
Query: explain select * from functional.alltypes where year = 100000
+------------------------------------------------------------------------+
| Explain String |
+------------------------------------------------------------------------+
| Estimated Per-Host Requirements: Memory=-9223372036854775808B VCores=0 |
| |
| F01:PLAN FRAGMENT [PARTITION=UNPARTITIONED] |
| 01:EXCHANGE [PARTITION=UNPARTITIONED] |
| hosts=3 per-host-mem=unavailable |
| tuple-ids=0 row-size=97B cardinality=7300 |
| |
| F00:PLAN FRAGMENT [PARTITION=RANDOM] |
| DATASTREAM SINK [FRAGMENT=F01, EXCHANGE=01, PARTITION=UNPARTITIONED] |
| 00:SCAN HDFSSCAN HDFS [functional.alltypes, PARTITION=RANDOM] |
| partitions=0/24 size=0B |
| table stats: 7300 rows total |
| column stats: all |
| hosts=3 per-host-mem=0B |
| tuple-ids=0 row-size=97B cardinality=7300 |
+------------------------------------------------------------------------+