MSCEWI2026
Json fields are inserted in an ascending ordering
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
Teradata display of JSONs is made in the same order as they were inserted but Snowflake displays the JSON values in alphabetically ascending order. The age value passes from being displayed last to first in the following example.
Code Example
Input:
Output:
Recommendations
JSON is data structures based on key:values, change your query so it does not depend on the order of the elements inside the JSON.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated