JSON_TABLE
Translation specification for the transformation of JSON_TABLE into a equivalent query in Snowflake
Last updated
Translation specification for the transformation of JSON_TABLE into a equivalent query in Snowflake
Last updated
Creates a table based on the contents of a JSON document. See .
The conversion of JSON_TABLE has the considerations shown below:
ROW_NUMBER() is an equivalent of ordinal columns in Snowflake.
In Teradata, the second column of JSON_TABLE must be JSON type because the generated columns replace the second column, for that reason, Snowconvert assumes that the column has the right type, and uses it for the transformation.
1. The JSON path in COLEXPR can not have multiple asterisk accesses
The columns JSON path cannot have multiple lists with asterisk access, for example: $.Names[*].FullNames[*]
. On the other hand, the JSON path of ROWEXP can have it.
2. JSON structure defined in the COLEXPR literal must be a valid JSON
When it is not the case the user will be warned about the JSON being badly formed.
No related EWIs.