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

ADAP-1130: Migrate dbt-bigquery into dbt-adapters #516

Merged
merged 963 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
963 commits
Select commit Hold shift + click to select a range
f717e83
update used gh actions ahead of set-output, node12 deprecation (#695)
davidbloss May 5, 2023
043b2ea
Add limit to execute signature for consistency with dbt-core (#707)
May 10, 2023
6402e3a
Bumping version to 1.6.0b1 and generate changelog
FishtownBuildBot May 12, 2023
027c781
[Automated] Merged prep-release/1.6.0b1_4962196583 into target main d…
FishtownBuildBot May 12, 2023
495566a
more github deprecations fixes (#714)
emmyoop May 15, 2023
22b3c75
updating set-output (#725)
emmyoop May 16, 2023
7bc2af0
update used gh actions ahead of node12 deprecation (#729)
davidbloss May 17, 2023
3f3cfdc
[Fix] small change to test pathing for assert clause (#739)
McKnight-42 May 25, 2023
56851b9
Bumping version to 1.6.0b2 and generate changelog
FishtownBuildBot May 25, 2023
512f5f3
[Automated] Merged prep-release/1.6.0b2_5084526864 into target main d…
FishtownBuildBot May 25, 2023
c09168f
replace with resusable workflow (#732)
emmyoop May 26, 2023
8d23ca4
replace with resusable workflow (#732)
emmyoop May 26, 2023
5f9b1bc
point to main (#741)
emmyoop May 26, 2023
863c2f8
Drop support for py37 (#742)
mikealfare May 31, 2023
934e6ae
adding link to 1.5 release notes (#740)
McKnight-42 May 31, 2023
79517b2
remove unneeded install of core (#744)
McKnight-42 May 31, 2023
389acee
add tests for rendering foreign key constraints (#698)
MichelleArk Jun 2, 2023
aa7bea8
Standardize the adapter for core debug changes. (#754)
VersusFacit Jun 7, 2023
f65a8a3
change group for env in bigquery (#758)
McKnight-42 Jun 7, 2023
e5b456a
re-pointing reelease branch env for nightly releases to a .latest bra…
McKnight-42 Jun 7, 2023
f8b49a1
Bumping version to v1.6.0b3 and generate changelog
FishtownBuildBot Jun 8, 2023
b3f6a8b
[Automated] Merged prep-release/v1.6.0b3_5216397961 into target main …
FishtownBuildBot Jun 8, 2023
580ad76
Test constraint rendering with column quoting (#713)
jtcohen6 Jun 14, 2023
b1e950b
model contracts + constraints with nested fields (#738)
MichelleArk Jun 14, 2023
a1401ef
fix utils.py (#776)
colin-rogers-dbt Jun 16, 2023
b8d127f
Rm agate as explicit dep (#778)
jtcohen6 Jun 20, 2023
5dd68e2
Pass python model timeout to polling instead of retry (#766)
colin-rogers-dbt Jun 21, 2023
9b3243b
add sql_header tests for constraints (#750)
MichelleArk Jun 22, 2023
3bf21a5
Bumping version to 1.6.0b4 and generate changelog
FishtownBuildBot Jun 23, 2023
9e07c75
[Automated] Merged prep-release/1.6.0b4_5351809362 into target main d…
FishtownBuildBot Jun 23, 2023
a04caa6
Bump mypy from 1.2.0 to 1.4.0 (#780)
dependabot[bot] Jun 23, 2023
aa8bef8
Update types-requests requirement from ~=2.28 to ~=2.31 (#737)
dependabot[bot] Jun 23, 2023
94eed37
Update tox requirement from ~=4.4 to ~=4.6 (#757)
dependabot[bot] Jun 24, 2023
0b08610
Update types-protobuf requirement from ~=4.22 to ~=4.23 (#706)
dependabot[bot] Jun 24, 2023
a42e13d
Add `batch_id` param to profile to pass along with `dataproc_v1.Crea…
nickozilla Jun 26, 2023
1552cee
Update pre-commit requirement from ~=3.2 to ~=3.3 (#787)
dependabot[bot] Jun 26, 2023
93fd439
Bump mypy from 1.4.0 to 1.4.1 (#789)
dependabot[bot] Jun 26, 2023
6238749
Update pytest requirement from ~=7.3 to ~=7.4 (#788)
dependabot[bot] Jun 26, 2023
85efa2a
Avoid unnecessary grant call (#791)
colin-rogers-dbt Jun 26, 2023
030324b
Update pytest-xdist requirement from ~=3.2 to ~=3.3 (#790)
dependabot[bot] Jun 27, 2023
ff77927
move job link logging just after the job submit (#697)
Kayrnt Jun 28, 2023
9caac58
remove dependent_projects_dict from utils.py (#800)
McKnight-42 Jun 29, 2023
e3d34f8
add thread_id to seed files for hooks tests to be in line with change…
McKnight-42 Jun 29, 2023
2182d3d
Update pip-tools requirement from ~=6.13 to ~=6.14 (#809)
dependabot[bot] Jul 5, 2023
2fb5681
add clean_up method for store_test_failures tests to stop hanging art…
McKnight-42 Jul 7, 2023
c36c902
Enable single-line `private_key` for BigQuery Service Account JSON Au…
dbeatty10 Jul 7, 2023
ae23032
update pr template (#813)
Jul 10, 2023
627307b
fix whitespace change (#814)
McKnight-42 Jul 10, 2023
2f80a27
Fix split part negative part number (#618)
dave-connors-3 Jul 11, 2023
291713c
Contracts: Handle struct column specified both at root and nested lev…
MichelleArk Jul 11, 2023
3c34dbb
add macros and adapter test for new dbt_clone flag (#784)
McKnight-42 Jul 11, 2023
d0d593e
Add support for validate_sql method to BigQuery (#819)
tlento Jul 12, 2023
e202bb8
Revert "Add `batch_id` param to profile to pass along with `dataproc…
dataders Jul 13, 2023
1d48967
add input to allow testing against a non-main core branch (#823)
colin-rogers-dbt Jul 13, 2023
d3deeb8
Use tmp table in static insert overwrite (#630)
github-christophe-oudar Jul 14, 2023
ea258bb
add datadog env vars (#829)
emmyoop Jul 17, 2023
1f80a20
Cleanup main after cutting new 1.6.latest branch (#832)
FishtownBuildBot Jul 18, 2023
da9f2da
Create a schema for each Grant Access Test run (#842)
colin-rogers-dbt Jul 24, 2023
924c0c3
updated stale workflow to use centralized version (#844)
mikealfare Jul 25, 2023
2bce977
Update wheel requirement from ~=0.40 to ~=0.41 (#843)
dependabot[bot] Jul 25, 2023
6e167f4
Update flake8 requirement from ~=6.0 to ~=6.1 (#847)
dependabot[bot] Aug 2, 2023
6a2a90c
avoid creating twice the temp table in dynamic insert overwrite (#845)
Kayrnt Aug 2, 2023
37dfbca
Update pip-tools requirement from ~=6.14 to ~=7.0 (#831)
dependabot[bot] Aug 3, 2023
b009a13
Update black requirement from ~=23.3 to ~=23.7 (#815)
dependabot[bot] Aug 3, 2023
070b74e
Update pip-tools requirement from ~=7.0 to ~=7.2 (#851)
dependabot[bot] Aug 3, 2023
3ed72ee
Update ddtrace requirement from ~=1.16 to ~=1.17 (#839)
dependabot[bot] Aug 3, 2023
4368ef4
Requiring Python >=3.8 enables walrus operator (#852)
dbeatty10 Aug 3, 2023
b06d230
move slack secret (#859)
Aug 3, 2023
1b8cae2
Fix contact validation failure on query data types change (#862)
dementiev27 Aug 7, 2023
4b3505d
Update tox requirement from ~=4.6 to ~=4.7 (#869)
dependabot[bot] Aug 9, 2023
cea6588
Bump mypy from 1.4.1 to 1.5.0 (#874)
dependabot[bot] Aug 11, 2023
c6a3e31
Update types-protobuf requirement from ~=4.23 to ~=4.24 (#873)
dependabot[bot] Aug 11, 2023
eb1b97e
add env vars for datadog test visibility (#875)
emmyoop Aug 11, 2023
dc56130
Update pip-tools requirement from ~=7.2 to ~=7.3 (#870)
dependabot[bot] Aug 11, 2023
3510f76
Swap dataproc `batch_id` declaration to model config (#804)
nickozilla Aug 11, 2023
0dd6abe
Update tox requirement from ~=4.7 to ~=4.8 (#880)
dependabot[bot] Aug 16, 2023
a5c36ea
Update ddtrace requirement from ~=1.17 to ~=1.18 (#881)
dependabot[bot] Aug 16, 2023
e9786ab
Bumping version to 1.7.0b1 and generate changelog
FishtownBuildBot Aug 17, 2023
eb58c7d
[Automated] Merged prep-release/1.7.0b1_5896248256 into target main d…
FishtownBuildBot Aug 17, 2023
f2525cc
change type of expected value (#890)
McKnight-42 Aug 22, 2023
2c7220a
case insensitive check on partition matching (#888)
github-christophe-oudar Aug 22, 2023
d7fb235
revert change made in pr 890 to go along with core revert (#894)
McKnight-42 Aug 23, 2023
6e7c0fc
remove some connection fields that may be sensitive user information …
McKnight-42 Aug 28, 2023
7628ee0
break out MV-relevant macros in adapters.sql into separate files in m…
mikealfare Aug 31, 2023
0e34734
Fix Dataclass validation logic (#905)
colin-rogers-dbt Aug 31, 2023
e1a12c3
Update tox requirement from ~=4.8 to ~=4.9 (#884)
dependabot[bot] Sep 1, 2023
935c63e
Bump mypy from 1.5.0 to 1.5.1 (#883)
dependabot[bot] Sep 1, 2023
0a9ab72
push up fix to core change in agate_helper (#916)
McKnight-42 Sep 11, 2023
2eb407d
Timeout BQ queries (#902)
colin-rogers-dbt Sep 11, 2023
7bc2921
Update black requirement from ~=23.7 to ~=23.9 (#920)
dependabot[bot] Sep 12, 2023
af3e7ef
Update pre-commit requirement from ~=3.3 to ~=3.4 (#909)
dependabot[bot] Sep 12, 2023
cf60e3e
Update tox requirement from ~=4.9 to ~=4.11 (#907)
dependabot[bot] Sep 12, 2023
45e5ce5
quote column names in data types (#919)
Kayrnt Sep 12, 2023
ffe2175
ADAP-400: Support materialized views with create/drop functionality (…
mikealfare Sep 13, 2023
315ea7e
Bumping version to 1.7.0b2 and generate changelog
FishtownBuildBot Sep 15, 2023
27ade3d
[Automated] Merged prep-release/1.7.0b2_6200491576 into target main d…
FishtownBuildBot Sep 15, 2023
9f6c449
Address type annotation issues and clean up impl (#933)
colin-rogers-dbt Sep 22, 2023
4c02c07
Update SQLQuery to include node_info (#936)
colin-rogers-dbt Sep 22, 2023
63ae274
automate repo cleanup (#944)
emmyoop Sep 26, 2023
e5a89af
poll `.GetBatch()` instead of using `operation.result()` (#929)
colin-rogers-dbt Sep 26, 2023
0fe8afc
Add dbt show tests (#927)
MichelleArk Sep 28, 2023
d683dec
fix mistaken dev-requirements change (#945)
colin-rogers-dbt Sep 28, 2023
3dc96c0
Update ddtrace requirement from ~=1.18 to ~=1.19 (#928)
dependabot[bot] Oct 2, 2023
d5b4114
[fix] Use rendered query comment for job labels (#955)
kodaho Oct 6, 2023
3e8d389
a slight rework of 955 to keep a seperation of concerns (#957)
McKnight-42 Oct 6, 2023
4976d54
test against 1.7.latest release branch and fix semver (#961)
colin-rogers-dbt Oct 10, 2023
5396aa0
Support type aliasing in contracts (#954)
gshank Oct 10, 2023
2c1d4ea
Fix bigquery copy materialization (#910)
m-sche Oct 11, 2023
593752f
[ADAP-492] Support partition_by and cluster_by on python models (#680…
kalanyuz Oct 11, 2023
2d5c5a5
Remove impersonation lifetime. (#882)
cmc333333 Oct 11, 2023
30b8bc2
ADAP-892: Support test results as views (#932)
mikealfare Oct 11, 2023
b06414f
Add tests for `date_spine` macro, and sub macros (#943)
QMalcolm Oct 11, 2023
e72cc51
[ADAP-394] support change monitoring for materialized views (#914)
McKnight-42 Oct 11, 2023
f4ab3f2
Cleanup main after cutting new 1.7.latest branch (#966)
FishtownBuildBot Oct 12, 2023
bfc5dc4
add docs-issue workflow to dbt-bigquery (#968)
McKnight-42 Oct 13, 2023
6a3f458
Patch for `dbt show` for a model with a `struct` column containing a …
matt-winkler Oct 23, 2023
f0f6d14
Lower bound of `2.11.0` for `google-api-core` (#980)
dbeatty10 Oct 25, 2023
0fcb2c8
Update black requirement from ~=23.9 to ~=23.10 (#973)
dependabot[bot] Oct 27, 2023
18fceef
Bump mypy from 1.5.1 to 1.6.0 (#963)
dependabot[bot] Oct 27, 2023
a3b1c95
Update pre-commit requirement from ~=3.4 to ~=3.5 (#969)
dependabot[bot] Oct 27, 2023
da4a79a
Bump mypy from 1.6.0 to 1.6.1 (#985)
dependabot[bot] Oct 27, 2023
377fc93
Update pre-commit-hooks requirement from ~=4.4 to ~=4.5 (#960)
dependabot[bot] Oct 27, 2023
b8af6a6
Update ddtrace requirement from ~=1.19 to ~=1.20 (#948)
dependabot[bot] Oct 27, 2023
f139e95
Fix refresh syntax, config comparison with empty labels (#983)
mikealfare Oct 27, 2023
2367be7
Update ddtrace requirement from ~=1.20 to ~=2.1 (#989)
dependabot[bot] Oct 27, 2023
f6e26d0
ADAP-972: Fix issue where materialized views were being mapped as tab…
mikealfare Oct 31, 2023
548d532
Support agate Integer type, test with empty seed (#1004)
gshank Nov 7, 2023
64e042a
ADAP-1017: Fix configuration change monitoring for scenarios with no …
mikealfare Nov 8, 2023
bf30b66
Fix inline comments (--) on the last line of an incremental model (pa…
tnk-ysk Nov 8, 2023
9e39acf
Fix Broken Python Models (#1014)
colin-rogers-dbt Nov 9, 2023
0c5422c
fix 409 duplicate batch issue (#1020)
colin-rogers-dbt Nov 12, 2023
f7ec534
Update wheel requirement from ~=0.41 to ~=0.42 (#1033)
dependabot[bot] Nov 27, 2023
44ec2d3
Update ddtrace requirement from ~=2.1 to ~=2.2 (#1028)
dependabot[bot] Nov 27, 2023
890f416
Bump mypy from 1.6.1 to 1.7.0 (#1023)
dependabot[bot] Nov 27, 2023
631467a
Update black requirement from ~=23.10 to ~=23.11 (#1013)
dependabot[bot] Nov 27, 2023
d29a230
Update pytest-xdist requirement from ~=3.3 to ~=3.4 (#1022)
dependabot[bot] Nov 28, 2023
4420e72
Update ddtrace requirement from ~=2.2 to ~=2.3 (#1035)
dependabot[bot] Nov 29, 2023
c1c41c7
Update pytest-xdist requirement from ~=3.4 to ~=3.5 (#1037)
dependabot[bot] Nov 29, 2023
67feec4
Bump mypy from 1.7.0 to 1.7.1 (#1034)
dependabot[bot] Nov 29, 2023
c489332
add tests for --empty flag (#1030)
MichelleArk Dec 1, 2023
ef1fee5
Update freezegun requirement from ~=1.2 to ~=1.3 (#1040)
dependabot[bot] Dec 12, 2023
0685167
Update black requirement from ~=23.11 to ~=23.12 (#1056)
dependabot[bot] Dec 13, 2023
f2804c0
feature/decouple adapters from core (#1026)
colin-rogers-dbt Jan 10, 2024
e86609a
Migrate to dbt-adapter and common (#1071)
colin-rogers-dbt Jan 22, 2024
70b7445
Primary and foreign key constraints are not enforced in BigQuery (#1019)
dbeatty10 Jan 23, 2024
8fc40e6
update dev-requirements.txt to use dbt-adapters for dbt-tests-adapter…
colin-rogers-dbt Jan 26, 2024
77a9f14
Add dbt-core install back to dev-requirements.txt (#1082)
colin-rogers-dbt Feb 2, 2024
9a03bd8
remove actions that sync github and jira (#1095)
mikealfare Feb 7, 2024
1b04762
Use dbt-common main in dev-requirements.txt (#1100)
colin-rogers-dbt Feb 9, 2024
ea3abee
[Bigquery] unit test tests + support for complex types (#1031)
MichelleArk Feb 9, 2024
34eadae
Implementation of metadata-based freshness (#1060)
mikealfare Feb 14, 2024
62a8f80
Implement relation filtering on get_catalog macro (#1063)
mikealfare Feb 14, 2024
f4cf22c
Fix merge fails when partition is required (#986)
tnk-ysk Feb 16, 2024
d904740
Remove refresh token field from connection keys (#1105)
VersusFacit Feb 16, 2024
6b48ec8
remove _json_from_json patch (#1061)
colin-rogers-dbt Feb 20, 2024
5501cd3
Remove custom query job async timeout logic (#1109)
colin-rogers-dbt Feb 20, 2024
79d53b1
update dbt-common dependency to <2.0 (#1128)
colin-rogers-dbt Feb 28, 2024
bf72105
Bumping version to 1.8.0b1 and generate changelog
FishtownBuildBot Mar 1, 2024
9395b6f
[Automated] Merged prep-release/1.8.0b1_8117733595 into target main d…
FishtownBuildBot Mar 1, 2024
1fb4279
allow for pre-release common/adapters (#1130)
colin-rogers-dbt Mar 1, 2024
6c0afe4
Fix wheel/sdist check (#1132)
colin-rogers-dbt Mar 7, 2024
faf1a7f
Test ddtrace dependency range (#1141)
McKnight-42 Mar 19, 2024
5c1b70f
Add Bigquery internal build process workflow (#1140)
VersusFacit Mar 20, 2024
4002483
Fix the renamed relations code (#1125)
VersusFacit Mar 21, 2024
955afbd
remove `keyfile` from `_connection_keys` (#1147)
McKnight-42 Mar 25, 2024
e98ee4c
Finish internal build workflow (#1143)
VersusFacit Mar 26, 2024
978a1ae
Add `pandas` extra for `google-cloud-bigquery` to pick up missing `py…
mikealfare Mar 28, 2024
05b0968
Pin `black>=24.3` (#1151)
mikealfare Mar 28, 2024
bb0fb2f
Add `dbt-core~=1.8.0a1` as convenience dep (#1168)
mikealfare Apr 3, 2024
c3f8204
Bumping version to 1.8.0b2 and generate changelog
FishtownBuildBot Apr 3, 2024
de5ff46
[Automated] Merged prep-release/1.8.0b2_8544131170 into target main d…
FishtownBuildBot Apr 3, 2024
bd1eb66
Update dependabot config to cover GHA (#1176)
mikealfare Apr 12, 2024
55689b9
Create BQ version of string_literal with correct quoting (#1089)
b-per Apr 17, 2024
b62ce74
Preserve nicely formatted timeout exception (#1187)
colin-rogers-dbt Apr 19, 2024
a81dee0
Add pre-commit check for dbt-core (#1188)
mikealfare Apr 19, 2024
49d6c1e
Stop adding aliases to render_limited output (#1190)
colin-rogers-dbt Apr 24, 2024
3bd44ac
pin macos test runners to macos-12 (#1195)
mikealfare Apr 25, 2024
f62d99c
Bump actions/checkout from 3 to 4 (#1183)
dependabot[bot] Apr 25, 2024
3b8c6e8
Bump actions/setup-python from 4 to 5 (#1182)
dependabot[bot] Apr 25, 2024
f923338
Bump actions/github-script from 6 to 7 (#1180)
dependabot[bot] Apr 25, 2024
8e139eb
Bump dorny/paths-filter from 2 to 3 (#1179)
dependabot[bot] Apr 26, 2024
461fa04
Bump dbt-labs/actions from 1.1.0 to 1.1.1 (#1181)
dependabot[bot] Apr 26, 2024
b2a3b51
Cleanup main after cutting new 1.8.latest branch (#1223)
FishtownBuildBot May 3, 2024
32fe415
Add missing changelog backlinks. (#1225)
VersusFacit May 7, 2024
8225313
Add configuration options for `enable_list_inference` and `intermedia…
mikealfare May 7, 2024
fcc4735
Update CODEOWNERS (#1226)
mikealfare May 8, 2024
edf3344
update TestListInference to TestPythonListInference to move it to pyt…
McKnight-42 May 8, 2024
0d37ba6
implement choice of delimiter for seed files (#1122)
salimmoulouel May 10, 2024
d148cc3
remove dependency on dbt-core legacy logger (#1233)
colin-rogers-dbt May 13, 2024
b7bb0bc
Cross-database `date` macro (#1219)
dbeatty10 May 13, 2024
93268ba
Import relevant pytest(s) for cross-database `cast` macro (#1215)
dbeatty10 May 14, 2024
f08d82c
Bump deps on common, adapters, core (#1235)
jtcohen6 May 14, 2024
dd300f9
fix Core version bump in setup.py during release (#1241)
colin-rogers-dbt May 15, 2024
3237173
Add docker release to the full release process for final releases (#…
mikealfare May 20, 2024
f454c47
Bump ubuntu from 22.04 to 24.04 in /docker (#1247)
dependabot[bot] May 21, 2024
526eefa
Allow base64-service-account-json key auth Issue: #923 (#1245)
rbaker1 Jun 10, 2024
995ebcb
Fix null column index issue during `dbt docs generate` for external t…
jtcohen6 Jun 12, 2024
e678489
Adap 1162/merge agate lazy load (#1250)
VersusFacit Jun 13, 2024
b828c30
update user docs-issue workflow (#1260)
McKnight-42 Jun 20, 2024
0627aa2
Update internal release naming and arguments (#1263)
colin-rogers-dbt Jun 20, 2024
2c77893
Base 207/add test (#1266)
VersusFacit Jul 8, 2024
4c459ea
Update freezegun requirement from ~=1.3 to ~=1.4 (#1062)
dependabot[bot] Jul 17, 2024
01979c6
Update flake8 requirement from ~=6.1 to ~=7.0 (#1069)
dependabot[bot] Jul 17, 2024
0afeacc
Bump mypy from 1.7.1 to 1.8.0 (#1064)
dependabot[bot] Jul 18, 2024
b4206ef
Update pre-commit requirement from ~=3.5 to ~=3.6 (#1052)
dependabot[bot] Jul 18, 2024
52cff47
Update pre-commit-hooks requirement from ~=4.5 to ~=4.6 (#1281)
dependabot[bot] Jul 18, 2024
a03a1e8
Update pytest-xdist requirement from ~=3.5 to ~=3.6 (#1282)
dependabot[bot] Jul 18, 2024
f5ed1de
Update flaky requirement from ~=3.7 to ~=3.8 (#1283)
dependabot[bot] Jul 18, 2024
80d8811
Bump actions/download-artifact from 3 to 4 (#1209)
dependabot[bot] Jul 18, 2024
16a7dcb
Bump actions/upload-artifact from 3 to 4 (#1210)
dependabot[bot] Jul 18, 2024
b8bc9c0
Update twine requirement from ~=4.0 to ~=5.1 (#1293)
dependabot[bot] Jul 19, 2024
b9018f7
ADAP-1051 - Temp Table Drop Fix (#1076)
vinit2107 Jul 22, 2024
ea848b0
make dependabot ignore patch releases (#1296)
mikealfare Jul 24, 2024
8c0a192
Move code quality deps to precommit (#1291)
mikealfare Jul 24, 2024
3839953
Add cancel (#1251)
MichelleArk Aug 1, 2024
d1976bb
Integration workflow update to support all-in-one adapter testing (#1…
gshank Aug 1, 2024
71dd575
Skip cancel tests on windows (#1314)
colin-rogers-dbt Aug 1, 2024
5ce38d8
skip flaky seed test (#1315)
colin-rogers-dbt Aug 5, 2024
21aeca3
Update workflows and integration test matricies (#1320)
VersusFacit Aug 16, 2024
01cb679
fix failing test_cancel in 3.12 (#1322)
colin-rogers-dbt Aug 21, 2024
62d597a
Make dev-requirements.txt look like other repos and work with update_…
gshank Aug 26, 2024
de2bca1
Fix the logs upload step for integration tests
mikealfare Aug 27, 2024
563633b
add github.actor to concurrency controls in integration.yml (#1335)
colin-rogers-dbt Sep 6, 2024
4932b96
Microbatch Strategy (#1334)
MichelleArk Sep 26, 2024
ae0f91c
update dbt-common dependency to 1.10 and dbt-adapters to 1.7 (#1356)
colin-rogers-dbt Sep 27, 2024
8833c54
Catch google `NotFound` exception as a `DbtDatabaseError` (#1360)
mikealfare Oct 2, 2024
bc93052
Bumping version to 1.9.0b1 and generate changelog
FishtownBuildBot Oct 2, 2024
455c768
[Automated] Merged prep-release/1.9.0b1_11136009699 into target main …
FishtownBuildBot Oct 2, 2024
1d61844
Drop support for Python 3.8 (#1373)
mikealfare Oct 17, 2024
0c96c95
Isolating distribution testing (#1346)
leahwicz Oct 17, 2024
4e24d6a
add matrix entry back that was inadvertently removed during a sync wi…
mikealfare Oct 18, 2024
d4be89a
Replace 'integration' with 'functional' in CONTRIBUTING.md (#1357)
syou6162 Oct 18, 2024
79fbd90
add test case when raise ServiceUnavailable in is_retryable (#1224)
jx2lee Oct 24, 2024
a09a8fa
use "direct" write for non-partitioned python model materializations …
colin-rogers-dbt Oct 29, 2024
4e3f86e
Feature/add quota project option (#1345)
jcarpenter12 Nov 1, 2024
23e8020
update macos runners from macos-12 to macos-14 (#1394)
mikealfare Nov 5, 2024
35c32f1
Break out credentials as a separate module (#1391)
mikealfare Nov 5, 2024
1fe273a
Update wheel requirement from ~=0.42 to ~=0.43 (#1304)
dependabot[bot] Nov 9, 2024
75142ac
Remove unused stub function (#1393)
syou6162 Nov 18, 2024
83bb413
Add retry factory to consolidate retry strategies across dbt-bigquery…
mikealfare Nov 20, 2024
62695c9
Cleanup main after cutting new 1.9.latest branch (#1419)
FishtownBuildBot Dec 2, 2024
1798601
update libpq-dev dependency to 13.18-0+deb11u1 (#1420)
colin-rogers-dbt Dec 4, 2024
26c19e9
Remove custom retry in get_table call (#1423)
mikealfare Dec 5, 2024
4d255b2
Fix: Cast to timestamp prior to event time comparison (#1422)
MichelleArk Dec 5, 2024
827fc78
[Feature] Allow `copy_partitions` when using `microbatch` (#1421)
borjavb Dec 10, 2024
e1b6e74
ADAP-1116: Move to `hatch` and `pyproject.toml` (#1407)
mikealfare Dec 11, 2024
2e1a5fd
[Bug] Use bigquery default retryable exceptions (#1431)
mikealfare Dec 13, 2024
a219818
Retry on 503 (#1408)
mikealfare Dec 17, 2024
ed59a9a
ADAP-1120: Move dbt-bigquery into a subpackage to prepare for migrati…
mikealfare Dec 20, 2024
e2a2ea6
migrate dbt-bigquery into the monorepo
mikealfare Jan 14, 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
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ body:
required: false
- label: dbt-athena-community
required: false
- label: dbt-bigquery
required: false
- label: dbt-spark
required: false
- type: textarea
attributes:
label: Current Behavior
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/regression-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ body:
required: false
- label: dbt-athena-community
required: false
- label: dbt-bigquery
required: false
- label: dbt-spark
required: false
- type: textarea
attributes:
label: Current Behavior
Expand Down
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ updates:
- "/dbt-tests-adapter"
- "/dbt-athena"
- "/dbt-athena-community"
- "/dbt-bigquery"
- "/dbt-spark"
schedule:
interval: "daily"
Expand All @@ -15,7 +16,9 @@ updates:
update-types:
- version-update:semver-patch
- package-ecosystem: "docker"
directory: "dbt-spark/docker"
directories:
- "/dbt-bigquery/docker"
- "/dbt-spark/docker"
schedule:
interval: "weekly"
rebase-strategy: "disabled"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
- "dbt-adapters"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
merge:
description: "Choose whether to merge the changelog branch"
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/_integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
options:
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
branch:
description: "Choose the branch to test"
Expand Down Expand Up @@ -96,6 +97,36 @@ jobs:
- run: hatch run integration-tests
working-directory: ./${{ inputs.package }}

integration-tests-bigquery:
if: ${{ inputs.package == 'dbt-bigquery' }}
runs-on: ${{ inputs.os }}
environment:
name: "dbt-bigquery"
env:
BIGQUERY_TEST_SERVICE_ACCOUNT_JSON: ${{ secrets.BIGQUERY_TEST_SERVICE_ACCOUNT_JSON }}
BIGQUERY_TEST_ALT_DATABASE: ${{ vars.BIGQUERY_TEST_ALT_DATABASE }}
BIGQUERY_TEST_NO_ACCESS_DATABASE: ${{ vars.BIGQUERY_TEST_NO_ACCESS_DATABASE }}
DBT_TEST_USER_1: ${{ vars.DBT_TEST_USER_1 }}
DBT_TEST_USER_2: ${{ vars.DBT_TEST_USER_2 }}
DBT_TEST_USER_3: ${{ vars.DBT_TEST_USER_3 }}
DATAPROC_REGION: ${{ vars.DATAPROC_REGION }}
DATAPROC_CLUSTER_NAME: ${{ vars.DATAPROC_CLUSTER_NAME }}
GCS_BUCKET: ${{ vars.GCS_BUCKET }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
repository: ${{ inputs.repository }}
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: pypa/hatch@install
- run: hatch run integration-tests tests/functional -k "not TestPython"
working-directory: ./${{ inputs.package }}
- run: hatch run integration-tests tests/functional -n1 -k "TestPython"
if: ${{ inputs.python-version == '3.9' }} # we only run this for one version to run in series
working-directory: ./${{ inputs.package }}

integration-tests-spark:
if: ${{ inputs.package == 'dbt-spark' }}
runs-on: ${{ inputs.os }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_publish-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
options:
- "dbt-adapters"
- "dbt-athena"
- "dbt-bigquery"
- "dbt-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
- "dbt-adapters"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
- "dbt-adapters"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
branch:
description: "Choose the branch to test"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_verify-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:
- "dbt-tests-adapter"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
branch:
description: "Choose the branch to build"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- "dbt-tests-adapter"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- "dbt-tests-adapter"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
os: [ubuntu-22.04]
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand All @@ -53,6 +54,7 @@ jobs:
- "dbt-adapters"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
os: [ ubuntu-22.04 ]
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand All @@ -71,6 +73,7 @@ jobs:
package:
- "dbt-athena"
- "dbt-athena-community"
- "dbt-bigquery"
- "dbt-spark"
os: [ubuntu-22.04]
python-version: ["3.9", "3.10", "3.11", "3.12"]
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ cython_debug/
# PyCharm
.idea/

# AWS credentials
.aws/

# MacOS
.DS_Store

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
rev: 7.1.1
hooks:
- id: flake8
exclude: dbt/adapters/events/adapter_types_pb2.py|tests/functional/|dbt-spark/tests/
exclude: dbt/adapters/events/adapter_types_pb2.py|tests/functional/|dbt-spark/tests/|dbt-bigquery/tests/
args:
- --max-line-length=99
- --select=E,F,W
Expand Down
9 changes: 9 additions & 0 deletions dbt-bigquery/.changes/0.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## 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)
- [1.5](https://github.com/dbt-labs/dbt-bigquery/blob/1.5.latest/CHANGELOG.md)
- [1.4](https://github.com/dbt-labs/dbt-bigquery/blob/1.4.latest/CHANGELOG.md)
- [1.3](https://github.com/dbt-labs/dbt-bigquery/blob/1.3.latest/CHANGELOG.md)
- [1.2](https://github.com/dbt-labs/dbt-bigquery/blob/1.2.latest/CHANGELOG.md)
- [1.1](https://github.com/dbt-labs/dbt-bigquery/blob/1.1.latest/CHANGELOG.md)
- [1.0](https://github.com/dbt-labs/dbt-bigquery/blob/1.0.latest/CHANGELOG.md)
3 changes: 3 additions & 0 deletions dbt-bigquery/.changes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# CHANGELOG

To view information about the changelog operation we suggest reading this [README](https://github.com/dbt-labs/dbt-bigquery/blob/main/.changes/README.md) found in `dbt-bigquery`.
6 changes: 6 additions & 0 deletions dbt-bigquery/.changes/header.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# dbt-bigquery Changelog

- This file provides a full account of all changes to `dbt-bigquery`.
- Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases.
- "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)
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Allow copy_partitions in microbatch
time: 2024-12-02T22:38:35.479052Z
custom:
Author: borjavb
Issue: "1414"
7 changes: 7 additions & 0 deletions dbt-bigquery/.changes/unreleased/Fixes-20241120-163101.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kind: Fixes
body: Fix issue where dbt-bigquery was not retrying in certain retryable scenarios,
e.g. 503's
time: 2024-11-20T16:31:01.60689-05:00
custom:
Author: mikealfare
Issue: "682"
7 changes: 7 additions & 0 deletions dbt-bigquery/.changes/unreleased/Fixes-20241204-105846.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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"
6 changes: 6 additions & 0 deletions dbt-bigquery/.changes/unreleased/Fixes-20241205-133606.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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"
6 changes: 6 additions & 0 deletions dbt-bigquery/.changes/unreleased/Fixes-20241211-144752.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix retry scenarios so that dbt always retries when BigQuery recommends a retry
time: 2024-12-11T14:47:52.36905-05:00
custom:
Author: mikealfare
Issue: "263"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Move from setup.py to pyproject.toml and to hatch as a dev tool
time: 2024-11-17T19:47:46.341-05:00
custom:
Author: mikealfare
Issue: "1407"
131 changes: 131 additions & 0 deletions dbt-bigquery/.changie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
changesDir: .changes
unreleasedDir: unreleased
headerPath: header.tpl.md
versionHeaderPath: ""
changelogPath: CHANGELOG.md
versionExt: md
envPrefix: "CHANGIE_"
versionFormat: '## dbt-bigquery {{.Version}} - {{.Time.Format "January 02, 2006"}}'
kindFormat: '### {{.Kind}}'
changeFormat: |-
{{- $IssueList := list }}
{{- $changes := splitList " " $.Custom.Issue }}
{{- range $issueNbr := $changes }}
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-bigquery/issues/nbr)" | replace "nbr" $issueNbr }}
{{- $IssueList = append $IssueList $changeLink }}
{{- end -}}
- {{.Body}} ({{ range $index, $element := $IssueList }}{{if $index}}, {{end}}{{$element}}{{end}})

kinds:
- label: Breaking Changes
- label: Features
- label: Fixes
- label: Under the Hood
- label: Dependencies
changeFormat: |-
{{- $PRList := list }}
{{- $changes := splitList " " $.Custom.PR }}
{{- range $pullrequest := $changes }}
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-bigquery/pull/nbr)" | replace "nbr" $pullrequest }}
{{- $PRList = append $PRList $changeLink }}
{{- end -}}
- {{.Body}} ({{ range $index, $element := $PRList }}{{if $index}}, {{end}}{{$element}}{{end}})
skipGlobalChoices: true
additionalChoices:
- key: Author
label: GitHub Username(s) (separated by a single space if multiple)
type: string
minLength: 3
- key: PR
label: GitHub Pull Request Number (separated by a single space if multiple)
type: string
minLength: 1
- label: Security
changeFormat: |-
{{- $PRList := list }}
{{- $changes := splitList " " $.Custom.PR }}
{{- range $pullrequest := $changes }}
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-bigquery/pull/nbr)" | replace "nbr" $pullrequest }}
{{- $PRList = append $PRList $changeLink }}
{{- end -}}
- {{.Body}} ({{ range $index, $element := $PRList }}{{if $index}}, {{end}}{{$element}}{{end}})
skipGlobalChoices: true
additionalChoices:
- key: Author
label: GitHub Username(s) (separated by a single space if multiple)
type: string
minLength: 3
- key: PR
label: GitHub Pull Request Number (separated by a single space if multiple)
type: string
minLength: 1

newlines:
afterChangelogHeader: 1
afterKind: 1
afterChangelogVersion: 1
beforeKind: 1
endOfVersion: 1

custom:
- key: Author
label: GitHub Username(s) (separated by a single space if multiple)
type: string
minLength: 3
- key: Issue
label: GitHub Issue Number (separated by a single space if multiple)
type: string
minLength: 1

footerFormat: |
{{- $contributorDict := dict }}
{{- /* ensure all names in this list are all lowercase for later matching purposes */}}
{{- $core_team := splitList " " .Env.CORE_TEAM }}
{{- /* ensure we always skip snyk and dependabot in addition to the core team */}}
{{- $maintainers := list "dependabot[bot]" "snyk-bot"}}
{{- range $team_member := $core_team }}
{{- $team_member_lower := lower $team_member }}
{{- $maintainers = append $maintainers $team_member_lower }}
{{- end }}
{{- range $change := .Changes }}
{{- $authorList := splitList " " $change.Custom.Author }}
{{- /* loop through all authors for a single changelog */}}
{{- range $author := $authorList }}
{{- $authorLower := lower $author }}
{{- /* we only want to include non-core team contributors */}}
{{- if not (has $authorLower $maintainers)}}
{{- $changeList := splitList " " $change.Custom.Author }}
{{- $IssueList := list }}
{{- $changeLink := $change.Kind }}
{{- if or (eq $change.Kind "Dependencies") (eq $change.Kind "Security") }}
{{- $changes := splitList " " $change.Custom.PR }}
{{- range $issueNbr := $changes }}
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-bigquery/pull/nbr)" | replace "nbr" $issueNbr }}
{{- $IssueList = append $IssueList $changeLink }}
{{- end -}}
{{- else }}
{{- $changes := splitList " " $change.Custom.Issue }}
{{- range $issueNbr := $changes }}
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-bigquery/issues/nbr)" | replace "nbr" $issueNbr }}
{{- $IssueList = append $IssueList $changeLink }}
{{- end -}}
{{- end }}
{{- /* check if this contributor has other changes associated with them already */}}
{{- if hasKey $contributorDict $author }}
{{- $contributionList := get $contributorDict $author }}
{{- $contributionList = concat $contributionList $IssueList }}
{{- $contributorDict := set $contributorDict $author $contributionList }}
{{- else }}
{{- $contributionList := $IssueList }}
{{- $contributorDict := set $contributorDict $author $contributionList }}
{{- end }}
{{- end}}
{{- end}}
{{- end }}
{{- /* no indentation here for formatting so the final markdown doesn't have unneeded indentations */}}
{{- if $contributorDict}}
### Contributors
{{- range $k,$v := $contributorDict }}
- [@{{$k}}](https://github.com/{{$k}}) ({{ range $index, $element := $v }}{{if $index}}, {{end}}{{$element}}{{end}})
{{- end }}
{{- end }}
16 changes: 16 additions & 0 deletions dbt-bigquery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# dbt-bigquery Changelog

- This file provides a full account of all changes to `dbt-bigquery`.
- Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases.
- "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)

## 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)
- [1.5](https://github.com/dbt-labs/dbt-bigquery/blob/1.5.latest/CHANGELOG.md)
- [1.4](https://github.com/dbt-labs/dbt-bigquery/blob/1.4.latest/CHANGELOG.md)
- [1.3](https://github.com/dbt-labs/dbt-bigquery/blob/1.3.latest/CHANGELOG.md)
- [1.2](https://github.com/dbt-labs/dbt-bigquery/blob/1.2.latest/CHANGELOG.md)
- [1.1](https://github.com/dbt-labs/dbt-bigquery/blob/1.1.latest/CHANGELOG.md)
- [1.0](https://github.com/dbt-labs/dbt-bigquery/blob/1.0.latest/CHANGELOG.md)
Loading
Loading