A. Table definition: File format options specified in the table definition have a lower precedence than those in the stage definition or the COPY INTO statement itself.
B. Stage definition: Options defined in a stage are overridden by any conflicting options specified directly in the COPY INTO
statement.C. Session level: File format options are not typically defined at the session level in the context of the COPY command's precedence hierarchy.
---
References
1. Snowflake Documentation: COPY INTO \
.Section: Usage Notes > Order of Precedence for File Format and Copy Options
Content: The documentation explicitly lists the order of precedence for applying file format and copy options during a load operation. It states that options specified directly in the COPY INTO
statement are evaluated first (i.e.have the highest precedence)
followed by options in a named file format (if referenced)
then options in the stage definition
and finally
options specified for the target table. This directly supports that the COPY INTO TABLE statement's options are applied first.