diff --git a/contrib/templates/scala-job/databricks_template_schema.json b/contrib/templates/scala-job/databricks_template_schema.json index 5dc9b4ea..3571e778 100644 --- a/contrib/templates/scala-job/databricks_template_schema.json +++ b/contrib/templates/scala-job/databricks_template_schema.json @@ -10,7 +10,7 @@ }, "artifacts_dest_path": { "type": "string", - "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)", + "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]", "order": 2, "pattern": "^/Volumes(?:/[a-z0-9_-]+)+/?$", "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." diff --git a/contrib/templates/scala-job/template/{{.project_name}}/resources/{{.project_name}}.job.yml.tmpl b/contrib/templates/scala-job/template/{{.project_name}}/resources/{{.project_name}}.job.yml.tmpl index b8a4e856..97f2f6e3 100644 --- a/contrib/templates/scala-job/template/{{.project_name}}/resources/{{.project_name}}.job.yml.tmpl +++ b/contrib/templates/scala-job/template/{{.project_name}}/resources/{{.project_name}}.job.yml.tmpl @@ -12,6 +12,6 @@ resources: environments: - environment_key: default spec: - environment_version: "4" - jar_dependencies: + environment_version: "4-scala-preview" + java_dependencies: - ${workspace.artifact_path}/.internal/{{.project_name}}-assembly-{{template `version` .}}.jar