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 2A05D200BC9 for ; Fri, 11 Nov 2016 23:34:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 28D65160AEE; Fri, 11 Nov 2016 22:34: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 7DD3E160AF6 for ; Fri, 11 Nov 2016 23:33:59 +0100 (CET) Received: (qmail 76614 invoked by uid 500); 11 Nov 2016 22:33:58 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 76320 invoked by uid 99); 11 Nov 2016 22:33:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2016 22:33:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 746C32C4C72 for ; Fri, 11 Nov 2016 22:33:58 +0000 (UTC) Date: Fri, 11 Nov 2016 22:33:58 +0000 (UTC) From: "Alex Batyrshin (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-3478) UPDATE STATISTICS SET syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 11 Nov 2016 22:34:00 -0000 [ https://issues.apache.org/jira/browse/PHOENIX-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Batyrshin updated PHOENIX-3478: ------------------------------------ Description: According to [documentation|https://phoenix.apache.org/language/index.html#update_statistics] example: bq. UPDATE STATISTICS my_table SET phoenix.stats.guidepost.width=50000000 And this is real world: {code} 0: jdbc:phoenix:> UPDATE STATISTICS "xxxxxxxxxxxxxxxxxxx" SET phoenix.stats.guidepost.width=30000000; Error: ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "EQ", got "." at line 1, column 52. (state=42P00,code=604) {code} Looks like SET parameter should be quoted. was: According to [documentation|https://phoenix.apache.org/language/index.html#update_statistics] example: bq. UPDATE STATISTICS my_table SET phoenix.stats.guidepost.width=50000000 And this is real world: {code} 0: jdbc:phoenix:> UPDATE STATISTICS "xxxxxxxxxxxxxxxxxxx " SET phoenix.stats.guidepost.width=30000000; Error: ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "EQ", got "." at line 1, column 52. (state=42P00,code=604) {code} Looks like SET parameter should be quoted. > UPDATE STATISTICS SET syntax error > ---------------------------------- > > Key: PHOENIX-3478 > URL: https://issues.apache.org/jira/browse/PHOENIX-3478 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.8.1 > Reporter: Alex Batyrshin > > According to [documentation|https://phoenix.apache.org/language/index.html#update_statistics] example: > bq. UPDATE STATISTICS my_table SET phoenix.stats.guidepost.width=50000000 > And this is real world: > {code} > 0: jdbc:phoenix:> UPDATE STATISTICS "xxxxxxxxxxxxxxxxxxx" SET phoenix.stats.guidepost.width=30000000; > Error: ERROR 604 (42P00): Syntax error. Mismatched input. Expecting "EQ", got "." at line 1, column 52. (state=42P00,code=604) > {code} > Looks like SET parameter should be quoted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)