Assume the value ' ' with type CHAR(1) that needs to be cast to VARCHAR(10).
The method makeCast (line 488 in RexBuilder.java) trims spaces on the right hand side of the CHAR value, but this seems incorrect as it could lead to incorrect results.
- relates to
-
CALCITE-2311 case when returns redundant white space
-
- Closed
-