SnowPro Core Certification — Question 1117

What is the benefit of using the STRIP_OUTER_ARRAY parameter with the COPY INTO [table] command when loading data from a JSON file into a table?

Answer options

Correct answer: B

Explanation

The correct answer, B, is accurate because the STRIP_OUTER_ARRAY parameter effectively removes the outer array structure, allowing each element to be loaded as a separate row. The other options describe different functionalities that do not pertain to the purpose of STRIP_OUTER_ARRAY, such as flattening arrays or tokenizing strings.