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

pengfei.zhan resolved KYLIN-5756.
---------------------------------
    Resolution: Fixed

> Concat string and number with '+' gives unexpected result
> ---------------------------------------------------------
>
>                 Key: KYLIN-5756
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5756
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Query Engine
>    Affects Versions: 5.0-beta
>            Reporter: pengfei.zhan
>            Assignee: pengfei.zhan
>            Priority: Major
>             Fix For: 5.0-beta
>
>
> Concat string and number gives unexpected result.
> For example:
> 1. concat constant with plus operator, gives unexpected result
> {code:java}
> 1' + 3 + 3  // 7 (correct)
> '1' + 3 + '3'  // 4.03 (wrong result)
> '1' + '3' + 'a' // error
> {code}
> 2. concat string and number, the first '+' produces null
> {code:java}
> 'q' + 1 + 1 // error
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to