diff --git a/contrib/templates/file-push/databricks_template_schema.json b/contrib/templates/file-push/databricks_template_schema.json index 9022c2e1..6e75b02b 100644 --- a/contrib/templates/file-push/databricks_template_schema.json +++ b/contrib/templates/file-push/databricks_template_schema.json @@ -6,15 +6,15 @@ "description": "\nPlease provide the name of an EXISTING UC catalog with default storage enabled.\nCatalog Name", "order": 1, "default": "main", - "pattern": "^[a-z_][a-z0-9_]{0,254}$", - "pattern_match_failure_message": "Name must only consist of letters, numbers, and underscores." + "pattern": "^[a-z_][a-z0-9_-]{0,254}$", + "pattern_match_failure_message": "Name must only consist of letters, numbers, dashes, and underscores." }, "schema_name": { "type": "string", "description": "\nPlease provide a NEW schema name where the pipelines and tables will land in.\nSchema Name", "order": 2, "default": "filepushschema", - "pattern": "^[a-z_][a-z0-9_]{0,254}$", + "pattern": "^[a-z_][a-z0-9_-]{0,254}$", "pattern_match_failure_message": "Name must only consist of letters, numbers, dashes, and underscores." } }, diff --git a/contrib/templates/file-push/template/{{.catalog_name}}.{{.schema_name}}/src/utils/initialization.py b/contrib/templates/file-push/template/{{.catalog_name}}.{{.schema_name}}/src/utils/initialization.py index 7182281a..602155ca 100644 --- a/contrib/templates/file-push/template/{{.catalog_name}}.{{.schema_name}}/src/utils/initialization.py +++ b/contrib/templates/file-push/template/{{.catalog_name}}.{{.schema_name}}/src/utils/initialization.py @@ -36,7 +36,7 @@ properties={ "filepush.volume_path_root": volume_path_root, "filepush.volume_path_data": volume_path_data, - "filepush.volume_path_data": volume_path_archive, + "filepush.volume_path_archive": volume_path_archive, }, ) logger.info(f"Schema {catalog_name}.{schema_name} configured")