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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: