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

Support column comments for an HBase backed table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • HBase Handler
    • 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.1.patch
          15 kB
          Chaoyu Tang
        2. HIVE-12245.patch
          15 kB
          Chaoyu Tang
        3. HIVE-12245.patch
          15 kB
          Chaoyu Tang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: