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

Bump dbt-fabric from 1.6.0 to 1.9.0 in /release_creation/bundle/requirements #219

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 26, 2024

Bumps dbt-fabric from 1.6.0 to 1.9.0.

Release notes

Sourced from dbt-fabric's releases.

v1.9.0

Incremental Strategies:

  • Added a new incremental strategy named "microbatch" in the valid_incremental_strategies method of fabric_adapter.py and corresponding SQL macros. [1]

Snapshot Handling:

  • Updated the fabric__build_snapshot_table and fabric__snapshot_staging_table macros to use configurable snapshot column names, enhancing flexibility and readability. [1] [2]
  • Improved the fabric__snapshot_merge_sql macro to handle dynamic column names and added checks for dbt_valid_to_current. [1]
  • Modified snapshot.sql to integrate the new snapshot staging table logic and ensure proper column handling. [1] [2]
  • Added unique_key as list and hard deletes support to snapshots. [1]

Testing:

  • Introduced new tests for the microbatch incremental strategy in test_incremental_microbatch.py, including setup for input models and insertion of test data.

Full Changelog: microsoft/dbt-fabric@v1.8.9...v1.9.0

v1.8.9

Workflow Configuration Updates:

  • .github/workflows/integration-tests-azure.yml: Renamed the job and updated the profile and permissions for integration tests. Switched from Azure CLI login to Azure login with OIDC and added a step to test the connection to Fabric Data Warehouse. [1] [2]
  • .github/workflows/publish-docker.yml: Added workflow_dispatch trigger and a step to list Docker images. [1] [2]
  • .github/workflows/unit-tests.yml: Limited Python versions to 3.10 and 3.11 for unit tests.

Codebase Enhancements:

  • dbt/adapters/fabric/fabric_connection_manager.py: Added methods for handling access tokens and updated the connection string logic to include pooling and retry configurations. [1] [2] [3] [4] [5] [6]
  • dbt/adapters/fabric/__version__.py: Bumped version to 1.8.9.
  • dbt/adapters/fabric/fabric_credentials.py: Added access_token attribute and updated default retry count.

Macro Improvements:

  • dbt/include/fabric/macros/adapters/catalog.sql: Added database usage checks and improved join conditions. [1] [2] [3] [4] [5]
  • dbt/include/fabric/macros/adapters/metadata.sql: Ensured database names are properly formatted.
  • dbt/include/fabric/macros/adapters/schema.sql: Added database usage commands before dropping schemas.
  • dbt/include/fabric/macros/adapters/show.sql: Improved SQL limit handling logic.
  • dbt/include/fabric/macros/materializations/models/table/table.sql: Enhanced logic for creating backup relations.
  • dbt/include/fabric/macros/materializations/snapshots/helpers.sql: Simplified column creation logic.
  • dbt/include/fabric/macros/materializations/snapshots/snapshot.sql: Improved handling of temporary views in snapshots.

These changes collectively enhance the integration testing setup, streamline connection management, and improve the reliability and clarity of macro definitions.

Full Changelog: microsoft/dbt-fabric@v1.8.8...v1.8.9

v1.8.8

What's Changed

Even though this is a minor release, a lot of work has been done to secure the repository and code as part of Security Foundation Initiative by Microsoft in addition to addressing issues from the community. Thanks for your patience.

  • Added password less integration tests using Azure Open ID Connect + GitHub Workflows
  • Added support for truncate table
  • Added Alter Table Add Column support
  • Fixed seed batch calculation

... (truncated)

Changelog

Sourced from dbt-fabric's changelog.

Changelog

V1.8.7

  • Improving table materialization to minimize downtime #189
  • Handling temp tables in incremental models #188
  • Add label support to filter queries #181
  • Addressed bug - incremental models cannot full refresh #179
  • Addressed bug - #197, dbt test incorrect syntax with macro helpers.sql

v1.8.0rc2

Bug Fixes

  • Remove dbt-adapters requirement in setup.py, and specify commit SHA of dbt-core and dbt-adapters in dev_requirements.txt, to fix make dev
  • Fix failing test tests/functional/adapter/test_query_comment.py::TestMacroArgsQueryComments::test_matches_comment to use correct dbt_version, see dbt-core

v1.8.0rc1

Features

Supporting dbt-core 1.8.0

Bug fixes

  • Refactor relations to query from sys catalog instead of information schema causing concurrency issues when running multiple threads in parallel (microsoft/dbt-fabric#52).

Enhancements

Decouple imports to common dbt core and dbt adapter interface packages for future maintainability and extensibility.

  • Bump adapter packages
    • from pyodbc>=4.0.35,=4.0.35,<5.2.0

From now on, Apple-silicon users don't have to locally build pyodbc, because M1, M2 binaries is included in pyodbc from 5.1.0 onwards!

  • Bump dev requirements
    • from pytest~=7.4. to pytest~=8.0.1
    • from twine~=4.0.2 to twine~=5.0.0
    • from pre-commit~=3.5.0 to pre-commit~=3.6.2

v1.7.3

Enhancements

  • Overwritten view adapter materialization and made improvements.
  • Overwritten table adapter materizalization and made improvements in handling model level constraints
  • Made Constraint name mandatory
  • Added several macros to manage indexes, dropping table dependencies and managing model level constraints
  • Bump dbt-tests-adapter requirement from ~=1.7.3 to ~=1.7.4
  • Bump py-test adapter requirement from ~=pytest==7.4.3 to ~=pytest==7.4.4

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dbt-fabric](https://github.com/microsoft/dbt-fabric) from 1.6.0 to 1.9.0.
- [Release notes](https://github.com/microsoft/dbt-fabric/releases)
- [Changelog](https://github.com/microsoft/dbt-fabric/blob/main/CHANGELOG.md)
- [Commits](microsoft/dbt-fabric@v1.6.0...v1.9.0)

---
updated-dependencies:
- dependency-name: dbt-fabric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants