hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satish Mittal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6109) Support customized location for EXTERNAL tables created by Dynamic Partitioning
Date Fri, 07 Feb 2014 07:33:20 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894263#comment-13894263
] 

Satish Mittal commented on HIVE-6109:
-------------------------------------

The latest patch HIVE-6109.3.patch.txt introduces a new Job conf property "hcat.dynamic.partitioning.custom.pattern"
that can be configured to provide custom path pattern in case of dynamic partitioning. E.g.
"${year}/${month}/${day}/${hour}/${minute}/${country}" in the above example.

> Support customized location for EXTERNAL tables created by Dynamic Partitioning
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-6109
>                 URL: https://issues.apache.org/jira/browse/HIVE-6109
>             Project: Hive
>          Issue Type: Improvement
>          Components: HCatalog
>            Reporter: Satish Mittal
>            Assignee: Satish Mittal
>         Attachments: HIVE-6109.1.patch.txt, HIVE-6109.2.patch.txt, HIVE-6109.3.patch.txt,
HIVE-6109.pdf
>
>
> Currently when dynamic partitions are created by HCatalog, the underlying directories
for the partitions are created in a fixed 'Hive-style' format, i.e. root_dir/key1=value1/key2=value2/....
and so on. However in case of external table, user should be able to control the format of
directories created for dynamic partitions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message