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

Tim Armstrong updated IMPALA-8056:
----------------------------------
    Component/s: Frontend

> Impala accepts plus in front of string value
> --------------------------------------------
>
>                 Key: IMPALA-8056
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8056
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>    Affects Versions: Impala 2.12.0
>            Reporter: Andrejs Dubovskis
>            Priority: Minor
>
> Impala accepts plus in front of string value and reject minus.
> See the output for the corresponding  queries:
> {code}
> Server version: impalad version 2.12.0-cdh5.15.0 RELEASE (build 
> 23f574543323301846b41fa5433690df32efe085)
> Query: select "a",+"b"
> Query submitted at: 2019-01-08 14:42:55 (Coordinator: http://catdn009:25000)
> Query progress can be monitored at: 
> http://catdn009:25000/query_plan?query_id=2640632c29c812c7:905a9fcd00000000
> a b
> Fetched 1 row(s) in 0.01s
> Query: select "a",-"b"
> Query submitted at: 2019-01-08 14:42:55 (Coordinator: http://catdn009:25000)
> ERROR: AnalysisException: Arithmetic operation requires numeric operands: -1 
> * 'b'
> Could not execute command: select "a",-"b"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to