Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.5.0, Impala 2.4.0, Impala 2.6.0, Impala 2.7.0
Description
In order to tune ETL processes we should also support the same plan hints for CREATE TABLE AS SELECT (CTAS) statements that we already support for INSERT statements. Otherwise, the convenience of a CTAS may be somewhat lost, or the generated data may not be as efficient as it could be with CREATE + INSERT + hints.
The placement of the hint should be as in Oracle's syntax:
CREATE /*+ clustered sort(day,hour) */ TABLE t AS
SELECT * from src;
Attachments
Issue Links
- is related to
-
IMPALA-2521 Introduce CLUSTERED plan hint for insert statements
- Resolved
-
IMPALA-4166 Introduce SORT BY clause in CREATE TABLE statement
- Resolved
- relates to
-
IMPALA-4191 standardize query hint syntax
- Resolved