Create a Databricks View
Create a View within Databricks.
To use this activity within the API, use an ActivityCode of CREATE-VIEW.
Example JSON
An example of what the Task Config would look like for a task using this activity. Some of these variables would be set at the group level to avoid duplication between tasks.
NULL
Variable Reference
The following variables are supported:
-
NotebookPath- (Required) The relative path to the Databricks Notebook that will prepare the Enrichment data. -
NotebookParameters- (Optional) Parameters for use in the Databricks Notebook. This is JSON format e.g. { "Param1": "Value1", "Param2": "Value2" }. -
AdditionalNotebooks- (Optional) The Path to other Notebooks referenced by the main Notebook. -
ViewSchema- (Required) The schema that this view resides in. -
ViewName- (Required) The name of the view. -
ProviderCatalog- (Optional) Only for cross-catalog views. If this view is accessing data in another catalog (the provider catalog), provide the name of the provider catalog here. This is a configuration item which you must specify in Configuration first. -
DatabricksClusterId- (Optional) The Id of the Databricks Cluster to use to run the Notebook. -
MaximumNumberOfAttemptsAllowed- (Optional) The total number of times the running of this Task can be attempted. -
MinutesToWaitBeforeNextAttempt- (Optional) If a Task run fails, the number of minutes to wait before re-attempting the Task.