Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. COF-C03/
  4. COF-C03 Learning Path/
  5. Study FAQs/
  6. How do I preserve NULLs, empty strings, and data types in a Snowflake export?

Study FAQ

How do I preserve NULLs, empty strings, and data types in a Snowflake export?

Exam · COF-C03Knowledge domain · Data Loading, Unloading, and ConnectivityUpdated Nov 25, 2026
Also asked as 2
  • What CSV and Parquet settings protect data fidelity in a Snowflake unload?
  • How do I keep missing values, empty text, timestamps, and numbers distinct after a Snowflake export?

Answer

Choose an output format and test it with the actual reader. For CSV, give SQL NULL a representation the receiver can distinguish from an empty string. For Parquet, check the physical column types and explicitly handle Snowflake values that do not map directly.

  • CSV. Use FIELD_OPTIONALLY_ENCLOSED_BY to quote string fields and a NULL_IF token that cannot collide with valid data. Agree on whether empty strings appear as quoted empty text, how the reader applies the null convention, delimiter, headers, UTF-8 handling, date and timestamp rendering, and compression. Keep the compression and filename extension consistent. If emitting unquoted empty fields with EMPTY_FIELD_AS_NULL = FALSE, keep an explicit distinct null token and apply the corresponding rules on reload.
  • Parquet. It preserves a typed columnar schema, but Snowflake's unload maps fixed-point numbers to DECIMAL and can serialize VARIANT values as JSON strings. COPY INTO <location> documents restrictions on unloading TIMESTAMP_TZ or TIMESTAMP_LTZ directly to Parquet. Convert them explicitly to an agreed UTC timestamp or offset-bearing text and verify the consumer's interpretation. Check the actual timestamp precision and decimal range after the round trip.

Test NULL and empty text separately, including a literal that resembles the null token, embedded delimiters, quotes, newlines, Unicode, large numbers, and timestamps at the precision and time zone your workload uses.

Supported unload formats and options · CSV null handling and Parquet type conversion · Snowflake date and time types

Full explanation

Unloading Data and Building Reliable Export Workflows

Study guide · COF-C03

Read the full explanation →
← Back to COF-C03 FAQsView learning path →

Related questions

Why does a staged file get skipped by bulk COPY INTO in Snowflake? →When should I choose bulk COPY, Snowpipe, or Snowpipe Streaming in Snowflake? →How do I validate Snowflake bulk COPY input and reconcile rejected rows? →How do I choose a Snowflake client, driver, connector, or API? →How do I find the earliest cause of a Snowflake connection failure? →How can Snowflake users work with staged documents without broad stage access? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.