mirror of
https://github.com/apache/impala.git
synced 2026-01-05 03:01:02 -05:00
There are now 4 explain levels summarized as follows: - Level 0: MINIMAL Non-fragmented parallel plan only showing plan nodes with minimal attributes - Level 1: STANDARD Non-fragmented parallel plan with some details in plan nodes - Level 2: EXTENDED Non-fragmented parallel plan with full details in plan nodes including the table/column stats, row size, #hosts, cardinality, and estimated per-host memory requirement - Level 3: VERBOSE Fragmented parallel plan with full details (like level 2) This patch also includes several bugfixes related to plan costing and/or testing of explain plans. Change-Id: I622310f01d1b3d53ea1031adaf3b3ffdd94eba30 Reviewed-on: http://gerrit.ent.cloudera.com:8080/1211 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: jenkins
45 lines
788 B
Plaintext
45 lines
788 B
Plaintext
values(1+1, 2, 5.0, 'a')
|
|
---- PLAN
|
|
00:MERGE
|
|
constant-selects=1
|
|
---- DISTRIBUTEDPLAN
|
|
00:MERGE
|
|
constant-selects=1
|
|
====
|
|
values(1+1, 2, 5.0, 'a') order by 1 limit 10
|
|
---- PLAN
|
|
01:TOP-N [LIMIT=10]
|
|
| order by: 1 + 1 ASC
|
|
|
|
|
00:MERGE
|
|
constant-selects=1
|
|
---- DISTRIBUTEDPLAN
|
|
01:TOP-N [LIMIT=10]
|
|
| order by: 1 + 1 ASC
|
|
|
|
|
00:MERGE
|
|
constant-selects=1
|
|
====
|
|
values((1+1, 2, 5.0, 'a'), (2, 3, 6.0, 'b'), (3, 4, 7.0, 'c'))
|
|
---- PLAN
|
|
00:MERGE
|
|
constant-selects=3
|
|
---- DISTRIBUTEDPLAN
|
|
00:MERGE
|
|
constant-selects=3
|
|
====
|
|
values((1+1, 2, 5.0, 'a'), (2, 3, 6.0, 'b'), (3, 4, 7.0, 'c')) order by 1 limit 10
|
|
---- PLAN
|
|
01:TOP-N [LIMIT=10]
|
|
| order by: 1 + 1 ASC
|
|
|
|
|
00:MERGE
|
|
constant-selects=3
|
|
---- DISTRIBUTEDPLAN
|
|
01:TOP-N [LIMIT=10]
|
|
| order by: 1 + 1 ASC
|
|
|
|
|
00:MERGE
|
|
constant-selects=3
|
|
====
|