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

Carry over encryption table property to derived tables

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • 3.0.1
    • HiveServer2
    • None

    Description

      HIVE-21848 proposed to have a set of table properties to configure the ORC and Parquet encryption. In the scenario of CTLT and CTAS, the new table needs to have the same encryption table properties because they have the same type of sensitive data.

      Furthermore, in the situation like 'insert into', if the source table has encrypted sensitive data but the destination doesn't have corresponding table property to define the encryption, then destination table will keep it as plaintext and hence leaks sensitive data. 

      The fix is to carry over table properties for those selected columns from the source table to the destination table. 

      The code change is working as a prototype.  I will share it out later after HIVE-21848 has an agreement in the community.

      Attachments

        Issue Links

        Activity

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

          People

            shangx@uber.com Xinli Shang Assign to me
            shangx@uber.com Xinli Shang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment