Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
None
-
None
Description
Data for reproduction:
{ "config": [ [], [ "a string" ] ] }
select flatten(config) as flat from cp.`/store/json/null_list.json`
This was carved out of a larger use case that was failing, so in the course of coming up with a minimal reproduction I fixed the bug. I will be posting a patch shortly.
Attachments
Attachments
Issue Links
- is related to
-
DRILL-2217 Trying to flatten an empty list should return an empty result
- Closed
-
DRILL-2745 Query returns IOB Exception when JSON data with empty arrays is input to flatten function
- Closed