mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
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>
45 lines
796 B
Plaintext
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
|
|
====
|