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

INSERT into a partitioned table as SELECT statement uses a wrong schema.

    Details

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

      Description

      Currently Tajo uses a output schema for INSERT into partitioned table statement. In most cases, this should not be a problem. But, Parquet file occurs a error because Parquet file format has schema meta data itself.
      The result file of the following query has wrong column meta.

      create table parquet_test (col1 text, col2 text) using parquet;
      insert into select substr(col1, 1, 3) from table1;
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: