Exam Name: | Databricks Certified Associate Developer for Apache Spark 3.0 Exam | ||
Exam Code: | Databricks-Certified-Associate-Developer-for-Apache-Spark-3.0 Dumps | ||
Vendor: | Databricks | Certification: | Databricks Certification |
Questions: | 180 Q&A's | Shared By: | blair |
The code block displayed below contains an error. The code block is intended to write DataFrame transactionsDf to disk as a parquet file in location /FileStore/transactions_split, using column
storeId as key for partitioning. Find the error.
Code block:
transactionsDf.write.format("parquet").partitionOn("storeId").save("/FileStore/transactions_split")A.
Which of the following code blocks efficiently converts DataFrame transactionsDf from 12 into 24 partitions?
Which of the following code blocks returns a copy of DataFrame transactionsDf where the column storeId has been converted to string type?
Which of the following code blocks returns a new DataFrame in which column attributes of DataFrame itemsDf is renamed to feature0 and column supplier to feature1?