COF-C02 · Question #341
What is the purpose of the STRIP NULL_VALUES file format option when loading semi- structured data files into Snowflake?
The correct answer is D. It removes object or array elements containing null values. The STRIP NULL_VALUES file format option, when set to TRUE, removes object or array elements that contain null values during the loading process of semi-structured data files into Snowflake. This ensures that the data loaded into Snowflake tables does not contain these null…
Question
What is the purpose of the STRIP NULL_VALUES file format option when loading semi- structured data files into Snowflake?
Options
- AIt removes null values from all columns in the data.
- BIt converts null values to empty strings during loading.
- CIt skips rows with null values during the loading process.
- DIt removes object or array elements containing null values.
How the community answered
(23 responses)- A4% (1)
- B4% (1)
- D91% (21)
Explanation
The STRIP NULL_VALUES file format option, when set to TRUE, removes object or array elements that contain null values during the loading process of semi-structured data files into Snowflake. This ensures that the data loaded into Snowflake tables does not contain these null elements, which can be useful when the "null" values in files indicate missing values and have no other special meaning.
Topics
Community Discussion
No community discussion yet for this question.