Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
There are some SQL functions which currently return VARCHAR(2000). With more strict CAST behavior from FLINK-24413, this could become an issue.
The following functions return VARCHAR(2000) and should be changed to return STRING instead:
- JSON_VALUE
- JSON_QUERY
- JSON_OBJECT
- JSON_ARRAY
There are also some more functions which should be evaluated:
- CHR
- REVERSE
- SPLIT_INDEX
- PARSE_URL
- FROM_UNIXTIME
- DECODE
Attachments
Issue Links
- is related to
-
FLINK-24413 Casting to a CHAR() and VARCHAR() doesn't trim the string to the specified precision
- Closed
- links to