[BUG] read_json
does not output null list when the input is a list with different data type than the specified schema
#17349
Labels
bug
Something isn't working
When the input JSON has lists with mixed types,
read_json
does not output nulls correctly for the output lists column. For example:In the example above, the input of the second list is
[123]
, while the desired schema islist<struct<string, string>>
. As such, the output here should be a null list, instead of a list of null struct like above.The text was updated successfully, but these errors were encountered: