Vote for D
Parquet files are a columnar storage file format that allows for efficient data compression and encoding schemes, enabling optimization and faster query performance compared to CSV files. This format supports efficient reading and writing of large datasets, making it a preferred choice for big data applications.
C. Parquet files have a well-defined schema.
Explanation:
Parquet files inherently store metadata about the schema within the files themselves, allowing for a well-defined schema. This schema information includes data types, column names, and other structural information. When creating an external table from Parquet, this schema is retained, providing a structured and well-defined format for the data. It ensures consistency and enables more efficient processing, query optimization, and compatibility across various systems or tools that work with the Parquet format.
This structured schema within Parquet files offers advantages in terms of data integrity, ease of data processing, and compatibility, making it a beneficial choice over CSV, which lacks inherent schema information and might need additional handling or inference of schema during data ingestion.
The key word here is : CREATE TABLE AS SELECT
not A : partitioning is not relevant in a create table as statement because the data will be created in a delta table
not C : Parquet schema is not well defined and there can be parquet files with multiple schema in a folder
not D : Parquet are already optimized and are not relevant in a create table as statement because the data will be created in a delta table
not E : both CSV & Parquet will become delta tables in a create table as statement
B : correct answer by elimination
CTAS - CTAS automatically infer schema information from query
results and do not support manual schema declaration.This means
that CTAS statements are useful for external data ingestion from
sources with well-defined schema, such as Parquet files and
tables.CTAS statements also do not support specifying additional
file options.
Ans : C
https://www.databricks.com/glossary/what-is-parquet#:~:text=Columnar%20storage%20like%20Apache%20Parquet,compared%20to%20row%2Doriented%20databases.
Columnar storage like Apache Parquet is designed to bring efficiency compared to row-based files like CSV. When querying, columnar storage you can skip over the non-relevant data very quickly. As a result, aggregation queries are less time-consuming compared to row-oriented databases.
C.
it supports well-defined schema, such as Parquet files and tables and do not support specifying additional file options such as Delimeter if you were to use CSV
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
1a44567
4 months, 2 weeks agoMDWPartners
6 months agobenni_ale
7 months agoUGOTCOOKIES
10 months agobartfto
10 months, 3 weeks agoGaryn
11 months agoAndreFR
11 months, 1 week agonedlo
11 months, 2 weeks agoFastEddie
1 year agokishore1980
1 year agoanandpsg101
1 year, 1 month agomeow_akk
1 year, 1 month agokbaba101
1 year, 1 month ago