You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ankit Singhal (JIRA)" <ji...@apache.org> on 2016/11/14 10:59:58 UTC

[jira] [Resolved] (PHOENIX-3478) UPDATE STATISTICS SET syntax error

     [ https://issues.apache.org/jira/browse/PHOENIX-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankit Singhal resolved PHOENIX-3478.
------------------------------------
    Resolution: Not A Problem

> 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
>            Priority: Minor
>
> 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)