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

E wang data/bump python sdk version #915

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
25636de
bump python sdk version
eric-wang-1990 Aug 14, 2024
12c077b
update
eric-wang-1990 Aug 14, 2024
5b8d938
Merge branch '1.9.latest' of github.com-ghec:databricks/dbt-databrick…
eric-wang-1990 Oct 14, 2024
403e496
update
eric-wang-1990 Oct 31, 2024
5a8f9c0
Merge branch '1.9.latest' of github.com-ghec:databricks/dbt-databrick…
eric-wang-1990 Oct 31, 2024
41092ba
update
eric-wang-1990 Oct 31, 2024
737f021
fix token test
eric-wang-1990 Oct 31, 2024
8c8417c
test
eric-wang-1990 Nov 14, 2024
c4aa1a3
fix test, add lock
eric-wang-1990 Nov 15, 2024
8dcba15
update
eric-wang-1990 Nov 16, 2024
bfe05a9
Merge branch 'main' of github.com-ghec:databricks/dbt-databricks into…
eric-wang-1990 Nov 16, 2024
55de168
update
eric-wang-1990 Nov 16, 2024
19b9f4d
fix test
eric-wang-1990 Nov 19, 2024
c4096e7
Merge branch '1.10.latest' into bump_python_sdk_version
benc-db Nov 26, 2024
e34a7c8
remove unneeded files
benc-db Nov 26, 2024
1368151
remove unexpected files
benc-db Nov 26, 2024
4e9edb7
lint
benc-db Nov 26, 2024
3fb54dc
Switch to render for safest relation str substitution (#903)
benc-db Jan 15, 2025
67bf98d
Adding missing 1.9 Snapshot behavior (#904)
benc-db Jan 17, 2025
45ec259
Enforce retry defaults to ensure sufficient retries regardless of PyS…
benc-db Jan 17, 2025
6974edb
Prep for 1.9.2 release (#908)
benc-db Jan 21, 2025
395801e
Compress to one connection manager (#910)
benc-db Jan 23, 2025
f1065d2
resolve conflict
eric-wang-1990 Jan 28, 2025
7e19891
bump version to 0.41.0
eric-wang-1990 Jan 28, 2025
7207d98
target 1.10.latest
eric-wang-1990 Jan 28, 2025
3ae701a
fix wrong merge
eric-wang-1990 Jan 28, 2025
f0ceb10
Revert "fix wrong merge"
eric-wang-1990 Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
### Under the Hood

- Refactor global state reading ([888](https://github.com/databricks/dbt-databricks/pull/888))
- Switch to relation.render() for string interpolation ([903](https://github.com/databricks/dbt-databricks/pull/903))
- Ensure retry defaults for PySQL ([907](https://github.com/databricks/dbt-databricks/pull/907))

## dbt-databricks 1.9.1 (December 16, 2024)

Expand Down
6 changes: 2 additions & 4 deletions dbt/adapters/databricks/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

from dbt.adapters.databricks import utils
from dbt.adapters.databricks.__version__ import version
from dbt.adapters.databricks.auth import BearerAuth
from dbt.adapters.databricks.credentials import DatabricksCredentials
from dbt.adapters.databricks.credentials import BearerAuth, DatabricksCredentials
from dbt.adapters.databricks.logging import logger

DEFAULT_POLLING_INTERVAL = 10
Expand Down Expand Up @@ -557,8 +556,7 @@ def create(
http_headers = credentials.get_all_http_headers(
connection_parameters.pop("http_headers", {})
)
credentials_provider = credentials.authenticate(None)
header_factory = credentials_provider(None) # type: ignore
header_factory = credentials.authenticate().credentials_provider() # type: ignore
session.auth = BearerAuth(header_factory)

session.headers.update({"User-Agent": user_agent, **http_headers})
Expand Down
100 changes: 0 additions & 100 deletions dbt/adapters/databricks/auth.py

This file was deleted.

Loading
Loading