[ https://issues.apache.org/jira/browse/HIVE-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-1278: ----------------------------- Resolution: Fixed Fix Version/s: 0.6.0 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) Committed. Thanks Paul > Partition name to values conversion conversion method > ----------------------------------------------------- > > Key: HIVE-1278 > URL: https://issues.apache.org/jira/browse/HIVE-1278 > Project: Hadoop Hive > Issue Type: New Feature > Components: Metastore > Affects Versions: 0.6.0 > Reporter: Paul Yang > Assignee: Paul Yang > Fix For: 0.6.0 > > Attachments: HIVE-1278.1.patch, HIVE-1278.2.patch > > > When writing scripts using the Thrift client, it'd useful to be able to > convert from the partition name to the partition values array. e.g. > {code} > "ds=2010-03-03/hr=12" => ["2010-03-03", "12"] > "ds=2008-07-01 14%3A13%3A12/hr=14" => ["2008-08-01 14:13:12", "14"] > {code} > and to the partition specification (a map from the partition col name to the > value) > {code} > "ds=2010-03-03/hr=12" => { "ds":"2010-03-03", "hr":"12"} > "ds=2008-07-01 14%3A13%3A12/hr=14" => {"ds":"2008-08-01 14:13:12", "hr":"14"} > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.