Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-566

BIN/TAJO_DUMP makes wrong ddl script.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      BIN/TAJO_DUMP makes wrong ddl script.

      • duplicated partition column
      • no data type in PARTITION BY COLUMN
      • PARTITION BY COLUMN clause must be placed before LOCATION
        The following is dump result.
        CREATE EXTERNAL TABLE test1 (col1 TEXT, col2 TEXT, col3 TEXT) USING CSV WITH ('csvfile.delimiter'='|') LOCATION 'hdfs://host01/tajo/table1' PARTITION BY COLUMN(col3);
        

        Attachments

        1. TAJO-566.patch
          2 kB
          Hyoungjun Kim

          Activity

            People

            • Assignee:
              hjkim Hyoungjun Kim
              Reporter:
              seungunchoe Seungun Choe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: