diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9ad0df50c..06e2e65a4 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.9.0rc1 +current_version = 1.9.0 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.9.0-rc1.md b/.changes/1.9.0-rc1.md deleted file mode 100644 index c933b5130..000000000 --- a/.changes/1.9.0-rc1.md +++ /dev/null @@ -1,30 +0,0 @@ -## dbt-bigquery 1.9.0-rc1 - December 02, 2024 - -### Breaking Changes - -- Drop support for Python 3.8 ([#1373](https://github.com/dbt-labs/dbt-bigquery/issues/1373)) - -### Features - -- add is_retryable test case when raise ServiceUnavailable ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) -- Adds the ability to set optional `quota_project` in profile ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) - -### Fixes - -- use "direct" write for non-partitioned python model materializations ([#1318](https://github.com/dbt-labs/dbt-bigquery/issues/1318)) - -### Under the Hood - -- Isolating distribution testing ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) -- Separate credentials functionality into its own module for reuse in retry and python submissions ([#1391](https://github.com/dbt-labs/dbt-bigquery/issues/1391)) -- Create a retry factory to simplify retry strategies across dbt-bigquery ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) - -### Dependencies - -- Update wheel requirement from ~=0.42 to ~=0.43 ([#1304](https://github.com/dbt-labs/dbt-bigquery/pull/1304)) - -### Contributors -- [@jcarpenter12](https://github.com/jcarpenter12) ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) -- [@jx2lee](https://github.com/jx2lee) ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) -- [@leahwicz](https://github.com/leahwicz) ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) -- [@osalama](https://github.com/osalama) ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) diff --git a/.changes/1.9.0-b1.md b/.changes/1.9.0.md similarity index 65% rename from .changes/1.9.0-b1.md rename to .changes/1.9.0.md index 7d0dd2c8f..41493a0ee 100644 --- a/.changes/1.9.0-b1.md +++ b/.changes/1.9.0.md @@ -1,12 +1,18 @@ -## dbt-bigquery 1.9.0-b1 - October 02, 2024 +## dbt-bigquery 1.9.0 - December 09, 2024 + +### Breaking Changes + +- Drop support for Python 3.8 ([#1373](https://github.com/dbt-labs/dbt-bigquery/issues/1373)) ### Features - Add configuration options `enable_list_inference` and `intermediate_format` for python models ([#1047](https://github.com/dbt-labs/dbt-bigquery/issues/1047), [#1114](https://github.com/dbt-labs/dbt-bigquery/issues/1114)) - Add tests for cross-database `cast` macro ([#1214](https://github.com/dbt-labs/dbt-bigquery/issues/1214)) - Cross-database `date` macro ([#1221](https://github.com/dbt-labs/dbt-bigquery/issues/1221)) +- add is_retryable test case when raise ServiceUnavailable ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) - Add support for base 64 encoded json keyfile credentials ([#923](https://github.com/dbt-labs/dbt-bigquery/issues/923)) - Add support for cancelling queries on keyboard interrupt ([#917](https://github.com/dbt-labs/dbt-bigquery/issues/917)) +- Adds the ability to set optional `quota_project` in profile ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) - Add Microbatch Strategy to dbt-spark ([#1354](https://github.com/dbt-labs/dbt-bigquery/issues/1354)) ### Fixes @@ -16,11 +22,17 @@ - make seed delimiter configurable via `field_delimeter` in model config ([#1119](https://github.com/dbt-labs/dbt-bigquery/issues/1119)) - Default `enableListInference` to `True` for python models to support nested lists ([#1047](https://github.com/dbt-labs/dbt-bigquery/issues/1047), [#1114](https://github.com/dbt-labs/dbt-bigquery/issues/1114)) - Catch additional database error exception, NotFound, as a DbtDatabaseError instead of defaulting to a DbtRuntimeError ([#1360](https://github.com/dbt-labs/dbt-bigquery/issues/1360)) +- use "direct" write for non-partitioned python model materializations ([#1318](https://github.com/dbt-labs/dbt-bigquery/issues/1318)) +- Cast `event_time` to a timestamp prior to comparing against microbatch start/end time ([#1422](https://github.com/dbt-labs/dbt-bigquery/issues/1422)) +- Fix issue where rate limit errors on table service calls are not retried ([#1423](https://github.com/dbt-labs/dbt-bigquery/issues/1423)) ### Under the Hood - Lazy load `agate` ([#1162](https://github.com/dbt-labs/dbt-bigquery/issues/1162)) - Simplify linting environment and dev dependencies ([#1291](https://github.com/dbt-labs/dbt-bigquery/issues/1291)) +- Isolating distribution testing ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) +- Separate credentials functionality into its own module for reuse in retry and python submissions ([#1391](https://github.com/dbt-labs/dbt-bigquery/issues/1391)) +- Create a retry factory to simplify retry strategies across dbt-bigquery ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) ### Dependencies @@ -35,10 +47,15 @@ - Update pytest-xdist requirement from ~=3.5 to ~=3.6 ([#1282](https://github.com/dbt-labs/dbt-bigquery/pull/1282)) - Update flaky requirement from ~=3.7 to ~=3.8 ([#1283](https://github.com/dbt-labs/dbt-bigquery/pull/1283)) - Update twine requirement from ~=4.0 to ~=5.1 ([#1293](https://github.com/dbt-labs/dbt-bigquery/pull/1293)) +- Update wheel requirement from ~=0.42 to ~=0.43 ([#1304](https://github.com/dbt-labs/dbt-bigquery/pull/1304)) ### Contributors - [@d-cole](https://github.com/d-cole) ([#917](https://github.com/dbt-labs/dbt-bigquery/issues/917)) - [@dwreeves](https://github.com/dwreeves) ([#1162](https://github.com/dbt-labs/dbt-bigquery/issues/1162)) +- [@jcarpenter12](https://github.com/jcarpenter12) ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) +- [@jx2lee](https://github.com/jx2lee) ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) +- [@leahwicz](https://github.com/leahwicz) ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) +- [@osalama](https://github.com/osalama) ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) - [@robeleb1](https://github.com/robeleb1) ([#923](https://github.com/dbt-labs/dbt-bigquery/issues/923)) - [@salimmoulouel](https://github.com/salimmoulouel) ([#1119](https://github.com/dbt-labs/dbt-bigquery/issues/1119)) - [@vinit2107](https://github.com/vinit2107) ([#1036](https://github.com/dbt-labs/dbt-bigquery/issues/1036)) diff --git a/.changes/1.9.0/Breaking Changes-20241016-185117.yaml b/.changes/1.9.0/Breaking Changes-20241016-185117.yaml deleted file mode 100644 index 55bb37461..000000000 --- a/.changes/1.9.0/Breaking Changes-20241016-185117.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Breaking Changes -body: Drop support for Python 3.8 -time: 2024-10-16T18:51:17.581547-04:00 -custom: - Author: mikealfare - Issue: "1373" diff --git a/.changes/1.9.0/Dependencies-20231211-001048.yaml b/.changes/1.9.0/Dependencies-20231211-001048.yaml deleted file mode 100644 index 6f2bfada4..000000000 --- a/.changes/1.9.0/Dependencies-20231211-001048.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit requirement from ~=3.5 to ~=3.7" -time: 2023-12-11T00:10:48.00000Z -custom: - Author: dependabot[bot] - PR: 1052 diff --git a/.changes/1.9.0/Dependencies-20231220-002130.yaml b/.changes/1.9.0/Dependencies-20231220-002130.yaml deleted file mode 100644 index d62e50bf2..000000000 --- a/.changes/1.9.0/Dependencies-20231220-002130.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update freezegun requirement from ~=1.3 to ~=1.4" -time: 2023-12-20T00:21:30.00000Z -custom: - Author: dependabot[bot] - PR: 1062 diff --git a/.changes/1.9.0/Dependencies-20231222-002351.yaml b/.changes/1.9.0/Dependencies-20231222-002351.yaml deleted file mode 100644 index 76591de93..000000000 --- a/.changes/1.9.0/Dependencies-20231222-002351.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump mypy from 1.7.1 to 1.8.0" -time: 2023-12-22T00:23:51.00000Z -custom: - Author: dependabot[bot] - PR: 1064 diff --git a/.changes/1.9.0/Dependencies-20240105-004800.yaml b/.changes/1.9.0/Dependencies-20240105-004800.yaml deleted file mode 100644 index b0d33ceed..000000000 --- a/.changes/1.9.0/Dependencies-20240105-004800.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update flake8 requirement from ~=6.1 to ~=7.0" -time: 2024-01-05T00:48:00.00000Z -custom: - Author: dependabot[bot] - PR: 1069 diff --git a/.changes/1.9.0/Dependencies-20240429-005158.yaml b/.changes/1.9.0/Dependencies-20240429-005158.yaml deleted file mode 100644 index 5d380952c..000000000 --- a/.changes/1.9.0/Dependencies-20240429-005158.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/download-artifact from 3 to 4" -time: 2024-04-29T00:51:58.00000Z -custom: - Author: dependabot[bot] - PR: 1209 diff --git a/.changes/1.9.0/Dependencies-20240429-005159.yaml b/.changes/1.9.0/Dependencies-20240429-005159.yaml deleted file mode 100644 index adf2cae65..000000000 --- a/.changes/1.9.0/Dependencies-20240429-005159.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump actions/upload-artifact from 3 to 4" -time: 2024-04-29T00:51:59.00000Z -custom: - Author: dependabot[bot] - PR: 1210 diff --git a/.changes/1.9.0/Dependencies-20240520-230208.yaml b/.changes/1.9.0/Dependencies-20240520-230208.yaml deleted file mode 100644 index f89057233..000000000 --- a/.changes/1.9.0/Dependencies-20240520-230208.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Bump ubuntu from 22.04 to 24.04 in /docker" -time: 2024-05-20T23:02:08.00000Z -custom: - Author: dependabot[bot] - PR: 1247 diff --git a/.changes/1.9.0/Dependencies-20240718-005755.yaml b/.changes/1.9.0/Dependencies-20240718-005755.yaml deleted file mode 100644 index 3d2cca66c..000000000 --- a/.changes/1.9.0/Dependencies-20240718-005755.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pre-commit-hooks requirement from ~=4.5 to ~=4.6" -time: 2024-07-18T00:57:55.00000Z -custom: - Author: dependabot[bot] - PR: 1281 diff --git a/.changes/1.9.0/Dependencies-20240718-005756.yaml b/.changes/1.9.0/Dependencies-20240718-005756.yaml deleted file mode 100644 index ac6b791a8..000000000 --- a/.changes/1.9.0/Dependencies-20240718-005756.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update pytest-xdist requirement from ~=3.5 to ~=3.6" -time: 2024-07-18T00:57:56.00000Z -custom: - Author: dependabot[bot] - PR: 1282 diff --git a/.changes/1.9.0/Dependencies-20240718-005757.yaml b/.changes/1.9.0/Dependencies-20240718-005757.yaml deleted file mode 100644 index 29e12d68e..000000000 --- a/.changes/1.9.0/Dependencies-20240718-005757.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update flaky requirement from ~=3.7 to ~=3.8" -time: 2024-07-18T00:57:57.00000Z -custom: - Author: dependabot[bot] - PR: 1283 diff --git a/.changes/1.9.0/Dependencies-20240719-003740.yaml b/.changes/1.9.0/Dependencies-20240719-003740.yaml deleted file mode 100644 index feb483a60..000000000 --- a/.changes/1.9.0/Dependencies-20240719-003740.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update twine requirement from ~=4.0 to ~=5.1" -time: 2024-07-19T00:37:40.00000Z -custom: - Author: dependabot[bot] - PR: 1293 diff --git a/.changes/1.9.0/Dependencies-20240724-040744.yaml b/.changes/1.9.0/Dependencies-20240724-040744.yaml deleted file mode 100644 index fd713788e..000000000 --- a/.changes/1.9.0/Dependencies-20240724-040744.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: "Dependencies" -body: "Update wheel requirement from ~=0.42 to ~=0.43" -time: 2024-07-24T04:07:44.00000Z -custom: - Author: dependabot[bot] - PR: 1304 diff --git a/.changes/1.9.0/Features-20240426-105319.yaml b/.changes/1.9.0/Features-20240426-105319.yaml deleted file mode 100644 index 0af2f9aa8..000000000 --- a/.changes/1.9.0/Features-20240426-105319.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Features -body: Add configuration options `enable_list_inference` and `intermediate_format` for python - models -time: 2024-04-26T10:53:19.874239-04:00 -custom: - Author: mikealfare - Issue: 1047 1114 diff --git a/.changes/1.9.0/Features-20240430-185650.yaml b/.changes/1.9.0/Features-20240430-185650.yaml deleted file mode 100644 index 0c0eef567..000000000 --- a/.changes/1.9.0/Features-20240430-185650.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add tests for cross-database `cast` macro -time: 2024-04-30T18:56:50.238027-06:00 -custom: - Author: dbeatty10 - Issue: "1214" diff --git a/.changes/1.9.0/Features-20240501-151902.yaml b/.changes/1.9.0/Features-20240501-151902.yaml deleted file mode 100644 index 1522e9775..000000000 --- a/.changes/1.9.0/Features-20240501-151902.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Cross-database `date` macro -time: 2024-05-01T15:19:02.929676-06:00 -custom: - Author: dbeatty10 - Issue: 1221 diff --git a/.changes/1.9.0/Features-20240505-011838.yaml b/.changes/1.9.0/Features-20240505-011838.yaml deleted file mode 100644 index 66411853f..000000000 --- a/.changes/1.9.0/Features-20240505-011838.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: add is_retryable test case when raise ServiceUnavailable -time: 2024-05-05T01:18:38.737882+09:00 -custom: - Author: jx2lee - Issue: "682" diff --git a/.changes/1.9.0/Features-20240516-125735.yaml b/.changes/1.9.0/Features-20240516-125735.yaml deleted file mode 100644 index d84b098b2..000000000 --- a/.changes/1.9.0/Features-20240516-125735.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for base 64 encoded json keyfile credentials -time: 2024-05-16T12:57:35.383416-07:00 -custom: - Author: robeleb1 - Issue: "923" diff --git a/.changes/1.9.0/Features-20240730-135911.yaml b/.changes/1.9.0/Features-20240730-135911.yaml deleted file mode 100644 index 52868c2ee..000000000 --- a/.changes/1.9.0/Features-20240730-135911.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add support for cancelling queries on keyboard interrupt -time: 2024-07-30T13:59:11.585452-07:00 -custom: - Author: d-cole MichelleArk colin-rogers-dbt - Issue: "917" diff --git a/.changes/1.9.0/Features-20240911-234859.yaml b/.changes/1.9.0/Features-20240911-234859.yaml deleted file mode 100644 index 5351c3315..000000000 --- a/.changes/1.9.0/Features-20240911-234859.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Adds the ability to set optional `quota_project` in profile -time: 2024-09-11T23:48:59.767649+01:00 -custom: - Author: jcarpenter12 - Issue: 1343 1344 diff --git a/.changes/1.9.0/Features-20240925-232238.yaml b/.changes/1.9.0/Features-20240925-232238.yaml deleted file mode 100644 index 903884196..000000000 --- a/.changes/1.9.0/Features-20240925-232238.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add Microbatch Strategy to dbt-spark -time: 2024-09-25T23:22:38.216277+01:00 -custom: - Author: michelleark - Issue: "1354" diff --git a/.changes/1.9.0/Fixes-20240120-180818.yaml b/.changes/1.9.0/Fixes-20240120-180818.yaml deleted file mode 100644 index 0d0740361..000000000 --- a/.changes/1.9.0/Fixes-20240120-180818.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Drop intermediate objects created in BigQuery for incremental models -time: 2024-01-20T18:08:18.817915-06:00 -custom: - Author: vinit2107 - Issue: "1036" diff --git a/.changes/1.9.0/Fixes-20240201-145323.yaml b/.changes/1.9.0/Fixes-20240201-145323.yaml deleted file mode 100644 index ea198e54a..000000000 --- a/.changes/1.9.0/Fixes-20240201-145323.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix null column index issue during `dbt docs generate` for external tables -time: 2024-02-01T14:53:23.434624-05:00 -custom: - Author: mikealfare - Issue: "1079" diff --git a/.changes/1.9.0/Fixes-20240226-233024.yaml b/.changes/1.9.0/Fixes-20240226-233024.yaml deleted file mode 100644 index efb1b077c..000000000 --- a/.changes/1.9.0/Fixes-20240226-233024.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: make seed delimiter configurable via `field_delimeter` in model config -time: 2024-02-26T23:30:24.141213+01:00 -custom: - Author: salimmoulouel - Issue: "1119" diff --git a/.changes/1.9.0/Fixes-20240426-105224.yaml b/.changes/1.9.0/Fixes-20240426-105224.yaml deleted file mode 100644 index 624006ba5..000000000 --- a/.changes/1.9.0/Fixes-20240426-105224.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Default `enableListInference` to `True` for python models to support nested - lists -time: 2024-04-26T10:52:24.827314-04:00 -custom: - Author: mikealfare - Issue: 1047 1114 diff --git a/.changes/1.9.0/Fixes-20241001-193207.yaml b/.changes/1.9.0/Fixes-20241001-193207.yaml deleted file mode 100644 index 584445a5b..000000000 --- a/.changes/1.9.0/Fixes-20241001-193207.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Catch additional database error exception, NotFound, as a DbtDatabaseError instead - of defaulting to a DbtRuntimeError -time: 2024-10-01T19:32:07.304353-04:00 -custom: - Author: mikealfare - Issue: "1360" diff --git a/.changes/1.9.0/Fixes-20241028-172719.yaml b/.changes/1.9.0/Fixes-20241028-172719.yaml deleted file mode 100644 index 87ee2c25d..000000000 --- a/.changes/1.9.0/Fixes-20241028-172719.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: use "direct" write for non-partitioned python model materializations -time: 2024-10-28T17:27:19.306348-07:00 -custom: - Author: colin-rogers-dbt - Issue: "1318" diff --git a/.changes/1.9.0/Under the Hood-20240331-101418.yaml b/.changes/1.9.0/Under the Hood-20240331-101418.yaml deleted file mode 100644 index baea00248..000000000 --- a/.changes/1.9.0/Under the Hood-20240331-101418.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Lazy load `agate` -time: 2024-03-31T10:14:18.260074-04:00 -custom: - Author: dwreeves - Issue: "1162" diff --git a/.changes/1.9.0/Under the Hood-20240718-193206.yaml b/.changes/1.9.0/Under the Hood-20240718-193206.yaml deleted file mode 100644 index 32b3084f5..000000000 --- a/.changes/1.9.0/Under the Hood-20240718-193206.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Simplify linting environment and dev dependencies -time: 2024-07-18T19:32:06.044016-04:00 -custom: - Author: mikealfare - Issue: "1291" diff --git a/.changes/1.9.0/Under the Hood-20240910-212052.yaml b/.changes/1.9.0/Under the Hood-20240910-212052.yaml deleted file mode 100644 index 3e4885dcd..000000000 --- a/.changes/1.9.0/Under the Hood-20240910-212052.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Isolating distribution testing -time: 2024-09-10T21:20:52.574204-04:00 -custom: - Author: leahwicz - Issue: "1290" diff --git a/.changes/1.9.0/Under the Hood-20241104-173815.yaml b/.changes/1.9.0/Under the Hood-20241104-173815.yaml deleted file mode 100644 index e3e81dec1..000000000 --- a/.changes/1.9.0/Under the Hood-20241104-173815.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Under the Hood -body: Separate credentials functionality into its own module for reuse in retry and - python submissions -time: 2024-11-04T17:38:15.940962-05:00 -custom: - Author: mikealfare - Issue: "1391" diff --git a/.changes/1.9.0/Under the Hood-20241107-143856.yaml b/.changes/1.9.0/Under the Hood-20241107-143856.yaml deleted file mode 100644 index db8557bf0..000000000 --- a/.changes/1.9.0/Under the Hood-20241107-143856.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Create a retry factory to simplify retry strategies across dbt-bigquery -time: 2024-11-07T14:38:56.210445-05:00 -custom: - Author: mikealfare osalama - Issue: "1395" diff --git a/.changes/unreleased/Fixes-20241204-105846.yaml b/.changes/unreleased/Fixes-20241204-105846.yaml deleted file mode 100644 index 2693e4513..000000000 --- a/.changes/unreleased/Fixes-20241204-105846.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Fixes -body: Cast `event_time` to a timestamp prior to comparing against microbatch start/end - time -time: 2024-12-04T10:58:46.573608-05:00 -custom: - Author: michelleark - Issue: "1422" diff --git a/.changes/unreleased/Fixes-20241205-133606.yaml b/.changes/unreleased/Fixes-20241205-133606.yaml deleted file mode 100644 index b88a0981c..000000000 --- a/.changes/unreleased/Fixes-20241205-133606.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix issue where rate limit errors on table service calls are not retried -time: 2024-12-05T13:36:06.436005-05:00 -custom: - Author: mikealfare - Issue: "1423" diff --git a/CHANGELOG.md b/CHANGELOG.md index 671411790..9488579fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-bigquery/blob/main/CONTRIBUTING.md#adding-changelog-entry) -## dbt-bigquery 1.9.0-rc1 - December 02, 2024 +## dbt-bigquery 1.9.0 - December 09, 2024 ### Breaking Changes @@ -13,39 +13,13 @@ ### Features -- add is_retryable test case when raise ServiceUnavailable ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) -- Adds the ability to set optional `quota_project` in profile ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) - -### Fixes - -- use "direct" write for non-partitioned python model materializations ([#1318](https://github.com/dbt-labs/dbt-bigquery/issues/1318)) - -### Under the Hood - -- Isolating distribution testing ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) -- Separate credentials functionality into its own module for reuse in retry and python submissions ([#1391](https://github.com/dbt-labs/dbt-bigquery/issues/1391)) -- Create a retry factory to simplify retry strategies across dbt-bigquery ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) - -### Dependencies - -- Update wheel requirement from ~=0.42 to ~=0.43 ([#1304](https://github.com/dbt-labs/dbt-bigquery/pull/1304)) - -### Contributors -- [@jcarpenter12](https://github.com/jcarpenter12) ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) -- [@jx2lee](https://github.com/jx2lee) ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) -- [@leahwicz](https://github.com/leahwicz) ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) -- [@osalama](https://github.com/osalama) ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) - - -## dbt-bigquery 1.9.0-b1 - October 02, 2024 - -### Features - - Add configuration options `enable_list_inference` and `intermediate_format` for python models ([#1047](https://github.com/dbt-labs/dbt-bigquery/issues/1047), [#1114](https://github.com/dbt-labs/dbt-bigquery/issues/1114)) - Add tests for cross-database `cast` macro ([#1214](https://github.com/dbt-labs/dbt-bigquery/issues/1214)) - Cross-database `date` macro ([#1221](https://github.com/dbt-labs/dbt-bigquery/issues/1221)) +- add is_retryable test case when raise ServiceUnavailable ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) - Add support for base 64 encoded json keyfile credentials ([#923](https://github.com/dbt-labs/dbt-bigquery/issues/923)) - Add support for cancelling queries on keyboard interrupt ([#917](https://github.com/dbt-labs/dbt-bigquery/issues/917)) +- Adds the ability to set optional `quota_project` in profile ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) - Add Microbatch Strategy to dbt-spark ([#1354](https://github.com/dbt-labs/dbt-bigquery/issues/1354)) ### Fixes @@ -55,11 +29,17 @@ - make seed delimiter configurable via `field_delimeter` in model config ([#1119](https://github.com/dbt-labs/dbt-bigquery/issues/1119)) - Default `enableListInference` to `True` for python models to support nested lists ([#1047](https://github.com/dbt-labs/dbt-bigquery/issues/1047), [#1114](https://github.com/dbt-labs/dbt-bigquery/issues/1114)) - Catch additional database error exception, NotFound, as a DbtDatabaseError instead of defaulting to a DbtRuntimeError ([#1360](https://github.com/dbt-labs/dbt-bigquery/issues/1360)) +- use "direct" write for non-partitioned python model materializations ([#1318](https://github.com/dbt-labs/dbt-bigquery/issues/1318)) +- Cast `event_time` to a timestamp prior to comparing against microbatch start/end time ([#1422](https://github.com/dbt-labs/dbt-bigquery/issues/1422)) +- Fix issue where rate limit errors on table service calls are not retried ([#1423](https://github.com/dbt-labs/dbt-bigquery/issues/1423)) ### Under the Hood - Lazy load `agate` ([#1162](https://github.com/dbt-labs/dbt-bigquery/issues/1162)) - Simplify linting environment and dev dependencies ([#1291](https://github.com/dbt-labs/dbt-bigquery/issues/1291)) +- Isolating distribution testing ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) +- Separate credentials functionality into its own module for reuse in retry and python submissions ([#1391](https://github.com/dbt-labs/dbt-bigquery/issues/1391)) +- Create a retry factory to simplify retry strategies across dbt-bigquery ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) ### Dependencies @@ -74,14 +54,20 @@ - Update pytest-xdist requirement from ~=3.5 to ~=3.6 ([#1282](https://github.com/dbt-labs/dbt-bigquery/pull/1282)) - Update flaky requirement from ~=3.7 to ~=3.8 ([#1283](https://github.com/dbt-labs/dbt-bigquery/pull/1283)) - Update twine requirement from ~=4.0 to ~=5.1 ([#1293](https://github.com/dbt-labs/dbt-bigquery/pull/1293)) +- Update wheel requirement from ~=0.42 to ~=0.43 ([#1304](https://github.com/dbt-labs/dbt-bigquery/pull/1304)) ### Contributors - [@d-cole](https://github.com/d-cole) ([#917](https://github.com/dbt-labs/dbt-bigquery/issues/917)) - [@dwreeves](https://github.com/dwreeves) ([#1162](https://github.com/dbt-labs/dbt-bigquery/issues/1162)) +- [@jcarpenter12](https://github.com/jcarpenter12) ([#1343](https://github.com/dbt-labs/dbt-bigquery/issues/1343), [#1344](https://github.com/dbt-labs/dbt-bigquery/issues/1344)) +- [@jx2lee](https://github.com/jx2lee) ([#682](https://github.com/dbt-labs/dbt-bigquery/issues/682)) +- [@leahwicz](https://github.com/leahwicz) ([#1290](https://github.com/dbt-labs/dbt-bigquery/issues/1290)) +- [@osalama](https://github.com/osalama) ([#1395](https://github.com/dbt-labs/dbt-bigquery/issues/1395)) - [@robeleb1](https://github.com/robeleb1) ([#923](https://github.com/dbt-labs/dbt-bigquery/issues/923)) - [@salimmoulouel](https://github.com/salimmoulouel) ([#1119](https://github.com/dbt-labs/dbt-bigquery/issues/1119)) - [@vinit2107](https://github.com/vinit2107) ([#1036](https://github.com/dbt-labs/dbt-bigquery/issues/1036)) + ## Previous Releases For information on prior major and minor releases, see their changelogs: - [1.6](https://github.com/dbt-labs/dbt-bigquery/blob/1.6.latest/CHANGELOG.md) diff --git a/dbt/adapters/bigquery/__version__.py b/dbt/adapters/bigquery/__version__.py index c70591d8a..7aba64097 100644 --- a/dbt/adapters/bigquery/__version__.py +++ b/dbt/adapters/bigquery/__version__.py @@ -1 +1 @@ -version = "1.9.0rc1" +version = "1.9.0"