Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.35.0
Description
array_compact(array) - Removes null values from the array.
Examples:
> SELECT array_compact(array(1, 2, 3, null));
{{ [1,2,3]}}
> SELECT array_compact(array("a", "b", "c"));
{{ ["a","b","c"]}}
Attachments
Issue Links
- relates to
-
CALCITE-5961 Type inference of ARRAY_COMPACT is incorrect
- Closed
- links to