エンジニアリングマネージャーは、Databricks SQLクエリを使用して、各データソースの取り込みレイテンシを監視しています。マネージャーはクエリの結果を毎日確認していますが、毎日手動でクエリを再実行し、結果を待っています。
クエリの結果が毎日更新されるようにするために、マネージャーが使用できるアプローチは次のどれですか。
正解:C
Databricks SQL allows users to schedule queries to run automatically at a specified frequency and time zone. This can help users to keep their dashboards or alerts updated with the latest data. To schedule a query, users need to do the following steps:
In the Query Editor, click Schedule > Add schedule to open a menu with schedule settings.
Choose when to run the query. Use the dropdown pickers to specify the frequency, period, starting time, and time zone. Optionally, select the Show cron syntax checkbox to edit the schedule in Quartz Cron Syntax.
Choose More options to show optional settings. Users can also choose a name for the schedule, and a SQL warehouse to power the query.
Click Create. The query will run automatically according to the schedule.
The other options are incorrect because they do not refer to the correct location or frequency to schedule the query. The query's page in Databricks SQL is the place where users can edit, run, or schedule the query. The SQL endpoint's page in Databricks SQL is the place where users can manage the SQL warehouses and SQL endpoints. The Jobs UI is the place where users can create, run, or schedule jobs that execute notebooks, JARs, or Python scripts. Reference: Schedule a query, What are Databricks SQL alerts?, Jobs.