SNOWFLAKE CSV LOAD
Match a CSV to a Snowflake file format
If a Snowflake load suddenly produces shifted columns, read the header and one row from the new export. Compare their separators and quotes with the FILE FORMAT used by the COPY INTO job.
Match the CSV to the named FILE FORMAT
A Snowflake FILE FORMAT describes how fields, records, quotes, and encodings are read. If a producer changes from comma to pipe or from UTF-8 to a legacy encoding, the same table can produce a completely different parse.
- One field contains the whole row: check the field delimiter first.
- Japanese or accented values fail: confirm the file encoding and the FILE FORMAT's encoding setting.
- The header becomes data: align the header-skip option with the actual first line.
Compare the producer, file, and load command
For a pipe-delimited export, a comma inside a city name belongs in the city field. A useful test row contains both characters so that an incorrect delimiter shows up immediately.
- Use a sample with commas, quotes, an empty value, and a non-ASCII value.
- Keep a copy of the source file and the exact FILE FORMAT name used for the test.
- A successful parse still needs a table-schema check for numbers, dates, and nullable fields.
Create a test file without changing business values
Maskedcsv prepares a sample or file within the browser limit; it does not claim to validate a multi-gigabyte warehouse load end to end.
- Copy the source export and open it in Maskedcsv's format conversion workspace.
- Choose the encoding and delimiter that produce the expected fields in the preview.
- Convert to the format declared by the Snowflake FILE FORMAT and save a separate CSV.
- Run a bounded COPY INTO validation and compare parsed rows before loading the full dataset.
Find the test row in the loaded table
- Check the test row in the loaded table. The city should occupy one field, its neighbor should contain the expected value, and the header should not appear as data.
- The source and converted row counts reconcile before rejected rows are considered.
- The target table receives the expected columns and types.
- The COPY INTO load history and rejected-row details are stored with the file-format version.
If fields line up, check their data types
If the file parses but rows fail, inspect column casts, NULL_IF values, date formats, and table constraints. If the source is too large, test a representative sample and document the boundary rather than implying full browser validation.
Keep Snowflake loads reproducible
Version the source settings, FILE FORMAT, sample output, and load counts together so future exports can be checked before COPY INTO.
Official documentation
Limits and import formats can change. Use the official documentation below as the final check for your account and plan.