{ "name": "ingestion_databricks", "properties": { "activities": [ { "name": "configFile lookup", "type": "Lookup", "dependsOn": [], "policy": { "timeout": "7.00:00:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "source": { "type": "JsonSource", "storeSettings": { "type": "AzureBlobFSReadSettings", "recursive": false, "enablePartitionDiscovery": false }, "formatSettings": { "type": "JsonReadSettings" } }, "dataset": { "referenceName": "configFile", "type": "DatasetReference", "parameters": { "configFile": { "value": "@pipeline().parameters.configFile", "type": "Expression" }, "configPath": { "value": "@pipeline().parameters.configPath", "type": "Expression" }, "configFS": { "value": "@pipeline().parameters.configFS", "type": "Expression" } } } } }, { "name": "error_notification_1", "type": "ExecutePipeline", "dependsOn": [ { "activity": "Databricks Notebook", "dependencyConditions": [ "Failed" ] } ], "userProperties": [], "typeProperties": { "pipeline": { "referenceName": "error_notification", "type": "PipelineReference" }, "waitOnCompletion": false, "parameters": { "subjectLine": { "value": "@concat('ADF Pipeline Error:', pipeline().DataFactory, ' ', pipeline().Pipeline)", "type": "Expression" }, "errorMsg": { "value": "@concat('Error in activity: ', activity('Databricks Notebook').Error.Message)", "type": "Expression" } } } }, { "name": "set databricks path", "type": "SetVariable", "dependsOn": [ { "activity": "configFile lookup", "dependencyConditions": [ "Succeeded" ] } ], "userProperties": [], "typeProperties": { "variableName": "databricksPath", "value": { "value": "@activity('configFile lookup').output.firstRow.pipeline.raw.databricks_notebook", "type": "Expression" } } }, { "name": "Databricks Notebook", "type": "DatabricksNotebook", "dependsOn": [ { "activity": "set databricks path", "dependencyConditions": [ "Succeeded" ] } ], "policy": { "timeout": "7.00:00:00", "retry": 0, "retryIntervalInSeconds": 30, "secureOutput": false, "secureInput": false }, "userProperties": [], "typeProperties": { "notebookPath": { "value": "@variables('databricksPath')", "type": "Expression" } }, "linkedServiceName": { "referenceName": "AzureDatabricks_Job", "type": "LinkedServiceReference" } } ], "parameters": { "configFile": { "type": "string", "defaultValue": "config_debug.json" }, "configPath": { "type": "string", "defaultValue": "config/pipelines/debug" }, "configFS": { "type": "string", "defaultValue": "datalake-file-system" } }, "variables": { "databricksPath": { "type": "String" } }, "folder": { "name": "templates/ingestion" }, "annotations": [] } }