Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.2, Impala 2.3.0, Impala 2.5.0, Impala 2.4.0, Impala 2.6.0, Impala 2.7.0
Description
For consistency with Oracle we should consider accepting hints in the same places in SQL statements. For example, our current INSERT statements accepts hints right before the SELECT portion:
INSERT INTO t PARTITIONED(year,month) /*+ hints */ SELECT * FROM src;
The proposal is to accept hints immediately after INSERT like Oracle does:
INSERT /*+ hints */ INTO t PARTITIONED(year,month) SELECT * FROM src;
Ideally, we would not accept hints in multiple places to avoid confusion and to reduce the code and testing burden. Ceasing to recognize the old hint placement is a backwards incompatible change.
Attachments
Issue Links
- is related to
-
IMPALA-4191 standardize query hint syntax
- Resolved