
Explanation:
The correct answer is A. org.apache.spark.sql.jdbc.
org.apache.spark.sql.jdbc.jdbc:sqlite:/customers.db indicates a SQLite database connection using the SQLite JDBC driver.USING clause in Spark SQL's CREATE TABLE statement requires the fully qualified name of the data source format.org.apache.spark.sql.jdbc.The OPTIONS clause provides the JDBC connection parameters:
url: JDBC connection URL for SQLite databasedbtable: The table name in the SQLite database to read fromThis approach allows Spark to read data from SQLite databases using JDBC drivers and create a table reference in Databricks.
Ultimate access to all questions.
No comments yet.
A data engineer needs to create a table in Databricks using data from their organization's existing SQLite database. They run the following command:
CREATE TABLE jdbc_customer360
USING __________
OPTIONS (
url "jdbc:sqlite:/customers.db",
dbtable "customer360"
)
CREATE TABLE jdbc_customer360
USING __________
OPTIONS (
url "jdbc:sqlite:/customers.db",
dbtable "customer360"
)
Which of the following lines of code fills in the above blank to successfully complete the task?
A
org.apache.spark.sql.jdbc
B
autoloader
C
DELTA
D
sqlite
E
org.apache.spark.sql.sqlite