Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 11129200BD9 for ; Fri, 9 Dec 2016 19:41:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0FEC8160B1D; Fri, 9 Dec 2016 18:41:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5A1CE160AFD for ; Fri, 9 Dec 2016 19:40:59 +0100 (CET) Received: (qmail 28434 invoked by uid 500); 9 Dec 2016 18:40:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 28425 invoked by uid 99); 9 Dec 2016 18:40:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2016 18:40:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E6382C0079 for ; Fri, 9 Dec 2016 18:40:58 +0000 (UTC) Date: Fri, 9 Dec 2016 18:40:58 +0000 (UTC) From: "Chaoyu Tang (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15410) WebHCat supports get/set table property with its name containing period and hyphen MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 09 Dec 2016 18:41:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-15410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15735983#comment-15735983 ] Chaoyu Tang commented on HIVE-15410: ------------------------------------ The failed tests are not related. > 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 > Attachments: 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)