Skip to content

Commit d28763f

Browse files
authored
Update lakeflow template project_name validation message (#3856)
## Changes Updated to align with the pattern ## Why Why not change the pattern to allow uppercase? It is lowercase because this name is used for certain Python modules and functions. So we'd need to accept that we're breaking the Python conventions if we allow upper case ## Tests <!-- How have you tested the changes? --> <!-- If your PR needs to be included in the release notes for next release, add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->
1 parent fb3b270 commit d28763f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/template/templates/lakeflow-pipelines/databricks_template_schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"description": "\nUnique name for this project",
1818
"order": 1,
1919
"pattern": "^[a-z0-9_]+$",
20-
"pattern_match_failure_message": "Name must consist of letters, numbers, and underscores."
20+
"pattern_match_failure_message": "Name must consist of lower case letters, numbers, and underscores."
2121
},
2222
"project_name_short": {
2323
"//": "This is a derived property based on project_name (it replaces lakeflow_project with lakeflow and strips _project|_app|_service)",

0 commit comments

Comments
 (0)