[
https://issues.apache.org/jira/browse/HIVE-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dong Chen updated HIVE-9213:
----------------------------
Attachment: HIVE-9213.patch
Patch attached.
In QTestUtil, before executing {{planMask}}, it will check the added
{{partialReservedPlanMask}} and save the directory info we wanted.
I use the patch in HIVE-8822 to run a case, and the result in .out file is like:
{{#### A PARTIAL masked pattern was here ####
data/warehouse/encryptedwith128bitskeydb.db/encryptedtablein128bitskey/ds=today/.hive-staging}}
The name of db, table and partition is there.
> Improve the mask pattern in QTestUtil to save partial directory info in test
> result
> -----------------------------------------------------------------------------------
>
> Key: HIVE-9213
> URL: https://issues.apache.org/jira/browse/HIVE-9213
> Project: Hive
> Issue Type: Sub-task
> Reporter: Dong Chen
> Assignee: Dong Chen
> Attachments: HIVE-9213.patch
>
>
> The mask pattern in QTestUtil will mask directory in test result, since the
> directory varies in different test env.
> However, in Encryption test, the directory info is needed to verify the
> intermediate files are put in proper table. The whole directory is not
> necessary, and part of it is enough.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)