Skip to content

Fix hyphen catalog name - #226

Closed
lammic wants to merge 6 commits into
databrickslabs:issue_225from
lammic:fix-hyphen-catalog-name
Closed

Fix hyphen catalog name#226
lammic wants to merge 6 commits into
databrickslabs:issue_225from
lammic:fix-hyphen-catalog-name

Conversation

@lammic

@lammic lammic commented Sep 6, 2025

Copy link
Copy Markdown

PR for issue #225.

@ravi-databricks
ravi-databricks changed the base branch from main to issue_225 September 8, 2025 15:47
"\nERROR: 'uc_catalog_name' can only contain ASCII letters ('a' - 'z', 'A' - 'Z'),"
" digits ('0' - '9'), and underbar ('_'). Must also not start with a digit. Exiting."
)
exit(1)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not put into base class instead of duplicating this validation in every demo class?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we can. I checked the page https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-identifiers, we need then to implement a more robust check. Are we also supporting delimited identifiers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants