explode_json_array_double
Description
explode_json_array_double table function, accepts a JSON array. Its implementation logic is to convert the JSON array into an array type and then call the explode function for processing. Must be used with LATERAL VIEW.
Syntax
Parameters
<json> JSON type, its content should be an array.
Return Results
- Returns a single-column multi-row result set composed of all elements in
<json>, with the column type beingNullable<JSON>. - If
<json>is NULL or an empty array (element count is 0), returns 0 rows. - If the elements of the JSON array are not of type DOUBLE, an attempt will be made to convert them to DOUBLE. Elements that cannot be converted to DOUBLE will be converted to NULL.
