QuestionQ44

VerifiedDevelopment and Ingestion

A data engineer needs to create a table in Databricks using data from a CSV file at location /path/to/csv.

They run the following command:

Question Image

Which of the following lines of code fills in the above blank to successfully complete the task?

Explanation

The CREATE TABLE ... USING CSV syntax specifies the data format when creating a table from a CSV file in Databricks. The USING clause indicates the format of the source data, and combined with the file path, enables direct table creation from CSV sources.

Community Discussion

No comments yet. Be the first to start the discussion!