liveBook · Manning

STRIP_OUTER_ARRAY

As explained in Snowflake Data Engineering

STRIP_OUTER_ARRAY is a Snowflake COPY option that removes an outer array and loads its objects as separate rows.

STRIP_OUTER_ARRAY is a Snowflake COPY option for loading structured JSON files whose outer array contains multiple objects. It removes that wrapper and loads each object as a separate target-table row. section 4.2

Use it when the ingestion pipeline encounters these conditions:

  • The input is JSON containing an outer array of similarly structured objects. section 4.2
  • A single document would exceed Snowflake’s 16 MB VARIANT size limit. section 4.2
  • The provider can produce structured files with multiple same-structure objects per document. section 4.2

Array-to-row ingestion

A JSON document containing an array of order objects can be loaded so that each order object becomes its own row in the target table, rather than remaining inside one VARIANT value. section 4.2

How Snowflake Data Engineering covers it

How deep it goes
Explains the size-limit rationale and row-loading behavior but does not provide complete COPY syntax.
Examples
Uses structured JSON documents containing multiple same-structure objects and loads each object into a separate row.
What it assumes
Assumes familiarity with JSON files, Snowflake COPY commands, VARIANT values, and relational table loading.
What you can do after
Operate/configure Snowflake ingestion for oversized structured JSON documents by selecting outer-array row loading.
How it connects
Connects JSON arrays with COPY commands, VARIANT, semistructured data, and relational tables.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Snowflake Data Engineering. The section links point to the parts of the book it draws on.