[
https://issues.apache.org/jira/browse/HIVE-10809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561450#comment-14561450
]
Selina Zhang commented on HIVE-10809:
-------------------------------------
Thanks, [~swarnim]!
I have added a new patch to address the concern 1. For the concern 2, because
we always do a "drop table" at the beginning of each test case, I think it may
not be necessary to verify the table directory existed.
I also modified the test testMultiPartColsInData() to make sure the multiple
level partition keys case works.
> HCat FileOutputCommitterContainer leaves behind empty _SCRATCH directories
> --------------------------------------------------------------------------
>
> Key: HIVE-10809
> URL: https://issues.apache.org/jira/browse/HIVE-10809
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Affects Versions: 1.2.0
> Reporter: Selina Zhang
> Assignee: Selina Zhang
> Attachments: HIVE-10809.1.patch, HIVE-10809.2.patch
>
>
> When static partition is added through HCatStorer or HCatWriter
> {code}
> JoinedData = LOAD '/user/selinaz/data/part-r-00000' USING JsonLoader();
> STORE JoinedData INTO 'selina.joined_events_e' USING
> org.apache.hive.hcatalog.pig.HCatStorer('author=selina');
> {code}
> The table directory looks like
> {noformat}
> drwx------ - selinaz users 0 2015-05-22 21:19
> /user/selinaz/joined_events_e/_SCRATCH0.9157208938193798
> drwx------ - selinaz users 0 2015-05-22 21:19
> /user/selinaz/joined_events_e/author=selina
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)