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

Support column comments for an HBase backed table

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: HBase Handler
    • Labels:
      None

      Description

      Currently the column comments of an HBase backed table are always returned as "from deserializer". For example,

      CREATE TABLE hbasetbl 
      (key string comment 'It is key', 
      state string comment 'It is state', 
      country string comment 'It is country', 
      country_id int comment 'It is country_id')
      STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
      WITH SERDEPROPERTIES (
      "hbase.columns.mapping" = "info:state,info:country,info:country_id"
      );
      hive> describe hbasetbl;
      key                 	string              	from deserializer   
      state               	string              	from deserializer   
      country             	string              	from deserializer   
      country_id          	int                 	from deserializer  
      

        Attachments

        1. HIVE-12245.patch
          15 kB
          Chaoyu Tang
        2. HIVE-12245.patch
          15 kB
          Chaoyu Tang
        3. HIVE-12245.1.patch
          15 kB
          Chaoyu Tang

          Issue Links

            Activity

              People

              • Assignee:
                ctang Chaoyu Tang
                Reporter:
                ctang Chaoyu Tang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: