Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4167

Support insert plan hints for CREATE TABLE AS SELECT

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.5.0, Impala 2.4.0, Impala 2.6.0, Impala 2.7.0
    • Impala 3.0, Impala 2.12.0
    • Frontend

    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

          Activity

            People

              csringhofer Csaba Ringhofer
              alex.behm Alexander Behm
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: