# How do I validate Snowflake bulk COPY input and reconcile rejected rows?

Exam: COF-C03 — SnowPro Core Certification Exam
Knowledge domain: Data Loading, Unloading, and Connectivity
Updated: 2026-11-25T08:00:24.245418+00:00
HTML: https://learningpathx.com/faq/COF-C03/cofc03-bulk-copy-validation-and-load-evidence.html

## Also asked as

- How can I check parsing errors before a bulk COPY and confirm accepted and rejected rows afterward?
- How do I combine Snowflake COPY validation and load results to find rejected data?

For a compatible, non-transforming bulk `COPY INTO <table>`, validate representative staged files with the production file format and target types using `VALIDATION_MODE = RETURN_ERRORS`. Choose an explicit error policy, then reconcile the real COPY result, its load history, and the target rows against the source manifest and your rejected-row threshold.

* Compare staged names, field order or mapping, delimiters, quoting, null markers, and target types. A malformed field can look like a conversion error once fields shift.
* For an ordinary bulk load, `ABORT_STATEMENT` is the default. `CONTINUE` can load valid rows while rejecting invalid ones, and `SKIP_FILE` skips affected files. Agree on what constitutes an acceptable partial load before using a tolerant policy.
* `VALIDATION_MODE` has restrictions, including transformed loads, `MATCH_BY_COLUMN_NAME`, and Iceberg tables. It also does not test target CHECK constraints. For a transformed or otherwise unsupported load, test the actual mapping in an isolated representative target. `VALIDATE` can report errors after eligible bulk loads, subject to its own restrictions.
* Capture per-file status, rows parsed, rows loaded, and available error detail. Use the Information Schema `COPY_HISTORY` table function for recent completed load activity in its 14-day window. The Account Usage view covers up to 365 days and can lag. Preserve the command result and query ID, especially for an abort or failure. Restrict access to diagnostics containing sensitive rejected values.

Confirm accepted totals and downstream freshness before archiving or deleting inputs. A successful statement with tolerated errors can still be an incomplete delivery.

[Validation and error handling](https://docs.snowflake.com/en/sql-reference/sql/copy-into-table) · [VALIDATE](https://docs.snowflake.com/en/sql-reference/functions/validate) · [Information Schema COPY\_HISTORY](https://docs.snowflake.com/en/sql-reference/functions/copy_history) · [Account Usage COPY\_HISTORY](https://docs.snowflake.com/en/sql-reference/account-usage/copy_history) · [Error logging](https://docs.snowflake.com/en/user-guide/data-load-error-tables)

Source: [Loading Data with Stages, File Formats, COPY INTO, and Snowpipe](https://learningpathx.com/news/loading-data-with-stages-file-formats-copy-into-and-snowpipe.html)
