Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
Description
Can be reproduced by the folowing code in `org.apache.flink.table.planner.runtime.batch.sql.CalcITCase`
checkResult("SELECT if(b > 10, 'ua', c) from Table3", data3)
The actual result is [co, He, He, ...].
Seems it will only get the first two characters.
Attachments
Issue Links
- duplicates
-
FLINK-30018 NPE error in generated StreamExecCalc
- Resolved
-
FLINK-30966 Flink SQL IF FUNCTION logic error
- Resolved
-
FLINK-31003 Flink SQL IF / CASE WHEN Funcation incorrect
- Closed
- is duplicated by
-
FLINK-35476 The IF built-in function returns an exception when returning a string
- Open
-
FLINK-30966 Flink SQL IF FUNCTION logic error
- Resolved
-
FLINK-31653 Using`if` statement for a string subtype of the row type may meet npe in code generated by codegen
- Closed
-
FLINK-31007 The code generated by the IF function throws NullPointerException
- Closed
- is fixed by
-
FLINK-30966 Flink SQL IF FUNCTION logic error
- Resolved
- links to