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

CREATE TABLE LIKE ... STORED AS AVRO does not work.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.1.1
    • Fix Version/s: Impala 2.3.0
    • Component/s: None
    • Labels:

      Description

      The create statement works fine but the resulting table is unusable.

      repro:

      > create table t(i int);
      Query: create table t(i int)
      
      Fetched 0 row(s) in 0.99s
      > create table t_avro like t stored as avro;
      Query: create table t_avro like t stored as avro
      
      Fetched 0 row(s) in 4.06s
      > describe t_avro;
      Query: describe t_avro
      ERROR: AnalysisException: Failed to load metadata for table: default.t_avro
      CAUSED BY: TableLoadingException: No Avro schema provided in SERDEPROPERTIES or TBLPROPERTIES for table: default.t_avro 
      

        Attachments

          Activity

            People

            • Assignee:
              alex.behm Alexander Behm
              Reporter:
              nong_impala_60e1 Nong Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: