Files
impala/testdata/workloads/functional-planner/queries/PlannerTest/values.test
Alex Behm ef6705d7e0 Rename MergeNode to UnionNode.
Change-Id: I9e3675a103757db1345b04bd1d102d2719efddd0
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3128
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3154
Tested-by: Alex Behm <alex.behm@cloudera.com>
2014-06-19 12:44:21 -07:00

45 lines
796 B
Plaintext

values(1+1, 2, 5.0, 'a')
---- PLAN
00:UNION
constant-operands=1
---- DISTRIBUTEDPLAN
00:UNION
constant-operands=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:UNION
constant-operands=1
---- DISTRIBUTEDPLAN
01:TOP-N [LIMIT=10]
| order by: 1 + 1 ASC
|
00:UNION
constant-operands=1
====
values((1+1, 2, 5.0, 'a'), (2, 3, 6.0, 'b'), (3, 4, 7.0, 'c'))
---- PLAN
00:UNION
constant-operands=3
---- DISTRIBUTEDPLAN
00:UNION
constant-operands=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:UNION
constant-operands=3
---- DISTRIBUTEDPLAN
01:TOP-N [LIMIT=10]
| order by: 1 + 1 ASC
|
00:UNION
constant-operands=3
====