Files
impala/testdata/workloads/functional-query/queries/QueryTest
Henry Robinson 2a69019525 IMPALA-945: Fix column reordering with SELECT expressions
Previously, to produce the correct output expressions for the root plan
fragment before a table sink, InsertStmt would reorder the result
expressions for the query statement at the plan root. This had stopped
working for SelectStmts (and test coverage didn't catch that).

Now InsertStmt produces its own output expressions that can substitute
for the originals from the query statement, and the planner uses those
instead.

All query tests for column reordering have been duplicated to use SELECT
expressions.

Change-Id: Ib909fe35d27416b33ba2e5ac797aa931e1fe43f9
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2204
Tested-by: jenkins
Reviewed-by: Henry Robinson <henry@cloudera.com>
(cherry picked from commit d526db7ac6274f35b6affcb7428327100026e14e)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2275
2014-04-18 00:12:12 -07:00
..
2014-04-14 21:07:32 -07:00
2014-01-08 10:48:09 -08:00
2014-03-17 17:30:15 -07:00
2014-01-08 10:53:47 -08:00
2014-03-06 07:37:14 -08:00
2014-03-06 07:37:14 -08:00
2014-01-08 10:48:09 -08:00
2014-01-08 10:52:27 -08:00