Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Databricks Loader: allow any character in catalog name #1289

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

spenes
Copy link
Contributor

@spenes spenes commented Jul 11, 2023

No description provided.

s"$qualifySchemaName.$tableName"

private def qualifySchemaName: String = tgt.catalog match {
case Some(c) => s"`$c`.${tgt.schema}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've thought about surrounding schema with backticks as well however it wasn't possible to create schema with non-alphanumeric character in its name even when it is surrounded with backticks. Therefore, I've decided to pass it.

Copy link
Contributor

@istreeter istreeter left a comment

Choose a reason for hiding this comment

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

Thank you @spenes

@spenes spenes changed the base branch from bump-deps-5.6.3 to develop July 11, 2023 13:12
@spenes spenes merged commit 1c3c7c5 into develop Jul 11, 2023
4 checks passed
@istreeter istreeter deleted the databricks-catalog-backquote branch November 29, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants