Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 3.2.0
-
None
-
ghx-label-10
Description
If there are thousands of columns in the inlineview, it‘s very slow in analysis. For example, this sql will take almost 4s in analysis if the inline view has tens of thousands of column
select c1 from (select c1, c2... c10001 from T) T
Query Compilation: 3s880ms
- Translate start: 968.000ns (968.000ns)
- Translate finished: 4.318ms (4.317ms)
- Metadata of all 1 tables cached: 42.219ms (37.900ms)
- Analysis finished: 3s776ms (3s734ms)
- Value transfer graph computed: 3s806ms (30.163ms)
- Single node plan created: 3s869ms (62.556ms)
- Runtime filters computed: 3s874ms (5.603ms)
- Distributed plan created: 3s874ms (128.086us)
- Planning finished: 3s880ms (5.836ms)
Attachments
Issue Links
- relates to
-
IMPALA-9358 Query slowdown with inline views and hundreds of columns
- Resolved