Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.9.3, 1.10.1, 1.11.0
Description
It can be reproduced by a simple test case:
Add below to ScalarOperatorsTest
testSqlApi("IF(true, CAST('non-numeric' AS BIGINT), 0)", "null")
IMO, it's IfCallGen's bug, which should judge the nullTerm of operands first before assignment.
cc lzljs3620320 jark
Attachments
Issue Links
- links to