0
0
Snowflakecloud~5 mins

File formats (CSV, JSON, Parquet, Avro) in Snowflake - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is CSV file format?
CSV stands for Comma-Separated Values. It stores data in plain text where each line is a row and columns are separated by commas. It's simple and easy to read but does not support complex data types.
Click to reveal answer
beginner
How does JSON format differ from CSV?
JSON (JavaScript Object Notation) stores data as nested objects and arrays. It supports complex and hierarchical data unlike CSV which is flat. JSON is human-readable and widely used for data exchange.
Click to reveal answer
intermediate
What is Parquet file format and why is it used?
Parquet is a columnar storage file format optimized for big data processing. It stores data by columns which makes queries faster and reduces storage space. It is efficient for analytics workloads.
Click to reveal answer
intermediate
Explain Avro file format in simple terms.
Avro is a compact, fast binary file format that stores data with its schema. It is good for data serialization and supports schema evolution, meaning the data structure can change over time without breaking compatibility.
Click to reveal answer
intermediate
Which file formats are best suited for analytics in Snowflake?
Parquet and Avro are best for analytics because they are efficient and support complex data types. CSV and JSON are easier to use but less efficient for large-scale analytics.
Click to reveal answer
Which file format stores data in plain text with columns separated by commas?
ACSV
BJSON
CParquet
DAvro
Which file format supports nested objects and arrays?
ACSV
BParquet
CJSON
DAvro
What is a key advantage of Parquet format?
AIt is columnar and efficient for analytics
BIt stores data in rows
CIt is human-readable
DIt uses XML schema
Which file format includes its schema with the data for compatibility?
AJSON
BAvro
CParquet
DCSV
For large-scale analytics in Snowflake, which formats are preferred?
ACSV and JSON
BOnly JSON
COnly CSV
DParquet and Avro
Describe the main differences between CSV, JSON, Parquet, and Avro file formats.
Think about data structure, readability, and efficiency.
You got /4 concepts.
    Explain why Parquet and Avro are better choices than CSV and JSON for analytics in Snowflake.
    Focus on performance and data complexity.
    You got /4 concepts.