Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9274

STORED BY not setting input and output formats correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.14.0
    • None
    • None
    • None

    Description

      When creating a new table using a storage handler via the STORED BY clause, for example using the HBaseStorageHandler, the input and output formats are set to null instead of the correct formats:

      CREATE TABLE hbase_table_1(key int, value string)
      STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
      WITH SERDEPROPERTIES ("hbase.columns.mapping" = ":key,cf1:val")
      TBLPROPERTIES ("hbase.table.name" = "xyz");

      describe formatted hbase_table_1:

      1. Storage Information
        SerDe Library: org.apache.hadoop.hive.hbase.HBaseSerDe
        InputFormat: null
        OutputFormat: null

      In older Hive versions, it would set the correct formats.

      Could it be related to the changes in HIVE-5976?

      Attachments

        Activity

          People

            Unassigned Unassigned
            tfriedr Thomas Friedrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: