IMPALA-5144: Remove sortby() hint

The sortby() hint is superseded by the SORT BY SQL clause, which has
been introduced in IMPALA-4166. This changes removes the hint.

Change-Id: I83e1cd6fa7039035973676322deefbce00d3f594
Reviewed-on: http://gerrit.cloudera.org:8080/6885
Reviewed-by: Lars Volker <lv@cloudera.com>
Tested-by: Impala Public Jenkins
This commit is contained in:
Lars Volker
2017-05-13 20:27:50 +02:00
committed by Impala Public Jenkins
parent ee9fbeca90
commit 0c8b2d3dbe
14 changed files with 62 additions and 279 deletions

View File

@@ -945,29 +945,3 @@ RESET alltypesnopart_insert
---- RESULTS
: 100
====
---- QUERY
# IMPALA-4163: insert into table sortby() plan hint
insert into table alltypesinsert
partition (year, month) /*+ clustered,shuffle,sortby(int_col, bool_col) */
select * from alltypestiny;
---- SETUP
DROP PARTITIONS alltypesinsert
RESET alltypesinsert
---- RESULTS
year=2009/month=1/: 2
year=2009/month=2/: 2
year=2009/month=3/: 2
year=2009/month=4/: 2
====
---- QUERY
# IMPALA-4163: insert into table sortby() plan hint
insert into table alltypesnopart_insert
/*+ clustered,shuffle,sortby(int_col, bool_col) */
select id, bool_col, tinyint_col, smallint_col, int_col, bigint_col, float_col,
double_col, date_string_col, string_col, timestamp_col from alltypestiny;
---- SETUP
DROP PARTITIONS alltypesinsert
RESET alltypesinsert
---- RESULTS
: 8
====