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

Unsetting the 'avro.schema.url' table property is not supported for non-Avro tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Catalog

    Description

      Impala can set the 'avro.schema.url' table property on any tables but can't unset it even if the table is not in AVRO format:

      create table mytbl(i int) stored as textfile;
      alter table mytbl set tblproperties('avro.schema.url'='hdfs:////test-warehouse/avro_schemas/functional/alltypes.json');
      
      alter table mytbl unset tblproperties('avro.schema.url');
      
      ERROR: AnalysisException: Unsetting the 'avro.schema.url' table property is not supported for Avro table.
      

      Hive is able to do this without any errors.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stigahuang Quanlong Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: