mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
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:
committed by
Impala Public Jenkins
parent
ee9fbeca90
commit
0c8b2d3dbe
@@ -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
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user