Skip to content

Commit 51b8714

Browse files
edwardfeng-dbpieterngarlandz-db
authored
Update databricks_template_schema.json for scala-job examples (#90)
This PR addresses some feedback from the bug bash, makes the instructions more clear and fix the issue by accepting trailing slashes. --------- Co-authored-by: Pieter Noordhuis <pcnoordhuis@gmail.com> Co-authored-by: Garland Zhang <garland.zhang@databricks.com>
1 parent bdaed69 commit 51b8714

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contrib/templates/scala-job/databricks_template_schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
},
1111
"artifacts_dest_path": {
1212
"type": "string",
13-
"description": "\nPlease provide the Volumes destination path in Databricks where the directory will be created containing the JAR and other artifacts to store. [example: /Volumes/abcdef1234567890].\nNote: Only when using Standard clusters, your admin must allowlist the Volumes JAR path you specify for your workspace (see https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/allowlist.html)",
13+
"description": "\nPlease provide the Unity Catalog volume destination path in Databricks where the directory will be created containing the JAR and other artifacts to store. [example: /Volumes/abcdef1234567890].\nNote: Only when using Standard clusters, your admin must allowlist the volume JAR path you specify for your workspace (see https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/allowlist.html)",
1414
"order": 2,
15-
"pattern": "^/Volumes(?:/[a-z0-9_-]+)+$",
16-
"pattern_match_failure_message": "Path must be of the form ^/Volumes(?:/[a-z0-9_-]+)+$"
15+
"pattern": "^/Volumes(?:/[a-z0-9_-]+)+/?$",
16+
"pattern_match_failure_message": "Please enter a valid path like /Volumes/my-folder/. Only lowercase letters, numbers, dashes, and underscores are allowed in folder names."
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)