Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.35.0
Description
The type inference uses the type `ReturnTypes.ARG0_NULLABLE_VARYING` for the output.
This means that the output cannot be longer than arg0. This bug surfaces when the query is optimized.
Attachments
Issue Links
- is related to
-
CALCITE-5813 Type inference for sql functions REPEAT, SPACE, XML_TRANSFORM, and XML_EXTRACT is incorrect
-
- Closed
-
-
CALCITE-5451 Implement LPAD() and RPAD() functions
-
- Closed
-
- links to