You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Fang-Yu Rao (JIRA)" <ji...@apache.org> on 2019/03/05 19:16:00 UTC

[jira] [Assigned] (IMPALA-8056) Impala accepts plus in front of string value

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

Fang-Yu Rao reassigned IMPALA-8056:
-----------------------------------

    Assignee: Fang-Yu Rao

> 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
>            Assignee: Fang-Yu Rao
>            Priority: Minor
>              Labels: compatibility, incompatibility
>
> 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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org