pengfei.zhan created KYLIN-5756: ----------------------------------- Summary: 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 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)