Files
impala/testdata/workloads/functional-planner/queries/PlannerTest/values.test
Alex Behm 6799c93922 Simplified/enhanced explain plans with a total of four explain levels.
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
2014-01-10 19:17:59 -08:00

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
====