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

Drop databricks-sql-connector 1.0. #108

Merged
merged 3 commits into from
Jun 9, 2022

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Jun 9, 2022

Description

Drops databricks-sql-connector 1.0 that will be deprecated soon.

@ueshin ueshin requested a review from allisonwang-db June 9, 2022 00:18
if parse(dbsql.__version__) < parse("2.0"):
session_configs = creds.session_properties or {}
if creds.database:
session_configs[CATALOG_KEY_IN_SESSION_PROPERTIES] = creds.database
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will the 2.0 and above version still support CATALOG_KEY_IN_SESSION_PROPERTIES? Should we also update __post_init__?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You mean DatabricksCredentials.__post_init__, right?
I think we should keep it as is for backward compatibility. Some user might be trying UC with the config.

@ueshin
Copy link
Collaborator Author

ueshin commented Jun 9, 2022

Thanks! merging.

@ueshin ueshin merged commit ebab143 into databricks:main Jun 9, 2022
@ueshin ueshin deleted the drop_databricks-sql-connector_1.0 branch June 9, 2022 18:48
ueshin added a commit to ueshin/dbt-databricks that referenced this pull request Jun 10, 2022
### Description

Drops `databricks-sql-connector 1.0` that will be deprecated soon.
ueshin added a commit that referenced this pull request Jun 15, 2022
### Description

Drops `databricks-sql-connector 1.0` that will be deprecated soon.
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.

2 participants