Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
select case when true then array('abc') when false then array('d') else null -- Perhaps it will be omitted end as c
The sql result type is CHAR(1) ARRAY.
If we use the CHAR(1) ARRAY, array('abc') will be truncated.
> Map has same issue.
Attachments
Issue Links
- relates to
-
CALCITE-4603 Least restrictive type considers only the last element in collections of collections
- Closed
- links to