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

Support column comments for an HBase backed table

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment