QuestionQ15
Prepare and process dataYou have an Azure Databricks workspace enabled for Unity Catalog containing a Delta table named db1.sales_orders. The table is updated nightly and has change data feed (CDF) enabled.
You must ingest every change from db1.sales_orders—inserts, updates, and deletes—into a downstream pipeline.
Complete the PsySpark code segment by selecting the appropriate options.
Select
spark.readStream \ .format(“delta”) \ .option(, “true”) \ .option(, “false”) \ .table(“db1.sales_orders”)
Community Discussion