[ https://issues.apache.org/jira/browse/HIVE-15410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chaoyu Tang updated HIVE-15410: ------------------------------- Resolution: Fixed Fix Version/s: 2.2.0 Status: Resolved (was: Patch Available) Committed to 2.2.0. Thanks [~thejas] for reviewing the patch. > WebHCat supports get/set table property with its name containing period and > hyphen > ---------------------------------------------------------------------------------- > > Key: HIVE-15410 > URL: https://issues.apache.org/jira/browse/HIVE-15410 > Project: Hive > Issue Type: Improvement > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Priority: Minor > Fix For: 2.2.0 > > Attachments: HIVE-15410.1.patch, HIVE-15410.patch > > > Hive table properties could have period (.) or hyphen (-) in their names, > auto.purge is one of the examples. But WebHCat APIs does not support either > set or get these properties, and they throw out the error msg ""Invalid DDL > identifier :property". For example: > {code} > [root@ctang-1 ~]# curl -s > 'http://ctang-1.gce.cloudera.com:7272/templeton/v1/ddl/database/default/table/sample_07/property/prop.key1?user.name=hiveuser' > {"error":"Invalid DDL identifier :property"} > [root@ctang-1 ~]# curl -s -X PUT -HContent-type:application/json -d '{ > "value": "true" }' > 'http://ctang-1.gce.cloudera.com:7272/templeton/v1/ddl/database/default/table/sample_07/property/prop.key2?user.name=hiveuser/' > {"error":"Invalid DDL identifier :property"} > {code} > This patch is going to add the supports to the property name containing > period and/or hyphen. -- This message was sent by Atlassian JIRA (v6.3.4#6332)