
Ultimate access to all questions.
Which of the following describes a benefit of creating an external table from Parquet rather than CSV when using a CREATE TABLE AS SELECT statement?
A
Parquet files can be partitioned
B
CREATE TABLE AS SELECT statements cannot be used on files
C
Parquet files have a well-defined schema
D
Parquet files have the ability to be optimized
E
Parquet files will become Delta tables
Explanation:
Explanation:
Parquet files have a well-defined schema that is embedded within the file format itself, unlike CSV files which are schema-less and require schema inference or explicit schema definition. This is a key benefit when using CREATE TABLE AS SELECT (CTAS) statements because:
While options A and D are also true about Parquet files (they can be partitioned and optimized), the most direct benefit specifically for CTAS operations is the well-defined schema, which eliminates schema-related issues that commonly occur with CSV files.