A user is loading JSON documents composed of a huge array containing multiple records into Snowflake. The user enables the STRIP_OUTER_ARRAY file format option.
What does the STRIP_OUTER_ARRAY file format do?
A user is loading JSON documents composed of a huge array containing multiple records into Snowflake. The user enables the STRIP_OUTER_ARRAY file format option.
What does the STRIP_OUTER_ARRAY file format do?
Enabling the STRIP_OUTER_ARRAY file format option in Snowflake removes the outer array structure of a JSON document and loads the elements within that array as separate rows in the table. This allows each record in the JSON array to be processed individually, facilitating easier handling and manipulation of the data within Snowflake.
https://cloudyard.in/2021/05/snowflake-strip_outer_array-in-json/
STRIP_OUTER_ARRAY, Removes the outer set of square brackets [ ] when loading the data, separating the initial array into multiple lines
STRIP Removes OUTER outer set of square brackets ARRAY []
B. It removes the outer array structure and loads the records into separate table rows.
correct