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-1132: Migrate dbt-spark into dbt-adapters #404

Merged
merged 687 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
687 commits
Select commit Hold shift + click to select a range
37dcfe3
Fix/ldap password (#396)
VShkaberda Oct 11, 2022
b759267
[CT-1469] init pr for short term python version issue fix (#508)
McKnight-42 Nov 4, 2022
c87b6b2
dbt run fails with spark-testing profile of examples (#513)
akashrn5 Nov 14, 2022
b6cee1d
fix flake8 change (#516)
McKnight-42 Nov 15, 2022
becc101
Supports new error messages. (#520)
ueshin Nov 29, 2022
9511847
trying to fix tox issue causing failures (#534)
McKnight-42 Dec 5, 2022
712a553
Policy Changes to support Py 3.11 (#543)
colin-rogers-dbt Dec 9, 2022
24e4a96
Feature/incremental predicates (#436)
dave-connors-3 Dec 15, 2022
6a003fb
add release workflow (#550)
emmyoop Dec 15, 2022
57e4ae8
fix footer, update contributors (#553)
emmyoop Dec 15, 2022
d4c19cc
Bumping version to 1.4.0b1 and generate CHANGELOG (#554)
github-actions[bot] Dec 15, 2022
512b3d0
add pypi release to workflow (#555)
emmyoop Dec 15, 2022
764cea7
skip databricks integration tests (#575)
colin-rogers-dbt Dec 22, 2022
5ca20be
add databricks integ tests back (#578)
colin-rogers-dbt Jan 4, 2023
d9a3d76
Use CircleCI Context for AWS access key environment variables (#582)
dbeatty10 Jan 6, 2023
28a9d09
add escape_single_quotes macro (#573)
graciegoheen Jan 11, 2023
94148f6
rename exceptions (#585)
emmyoop Jan 11, 2023
8d266fd
wrap if expression in brackets (#576)
colin-rogers-dbt Jan 11, 2023
8aceeb4
Bumping version to 1.5.0a1 and generate changelog (#588)
github-actions[bot] Jan 12, 2023
89f0cc2
make dev installs requirements.txt too (#399)
nathaniel-may Jan 19, 2023
39800e0
Convert incremental on_schema_change tests (#593)
jtcohen6 Jan 19, 2023
3114331
Use AttrDict instead of agate (#604)
colin-rogers-dbt Jan 26, 2023
2e767bc
Upgrade Thrift to 0.16.0 (#605)
colin-rogers-dbt Jan 26, 2023
7d46e18
[CI/CD] Update release workflow (#592)
alexander-smolyakov Jan 27, 2023
4517567
remove PR requirement for changie and allow multiple issues per chang…
emmyoop Jan 27, 2023
4d179e0
Update release workflow (#613)
alexander-smolyakov Jan 30, 2023
9241c38
change type to string (#611)
emmyoop Jan 31, 2023
5d27961
fix bug with contributor list (#620)
emmyoop Feb 1, 2023
f877d1e
Convert Spark persist docs test (#612)
VersusFacit Feb 2, 2023
55d86d0
update regex for version bump (#630)
emmyoop Feb 3, 2023
5baa88a
convert test_store_test_failures to functional (#629)
colin-rogers-dbt Feb 7, 2023
c87d744
Convert merge exclude columns tests (#601)
dave-connors-3 Feb 8, 2023
0c8288c
remove invocation of integration tests in tox (#614)
colin-rogers-dbt Feb 10, 2023
3de7603
parse vars in unit test utils (#632)
MichelleArk Feb 10, 2023
cda0d09
Sync Changelog team to GitHub team (#621)
emmyoop Feb 13, 2023
6f7307b
CT-1967 - test conversion - get columns in relation (#643)
mikealfare Feb 15, 2023
b3f6558
dbt Constraints / model contracts (#574)
b-per Feb 17, 2023
9dc352b
add new workflow for cutting .latest branches (#641)
emmyoop Feb 21, 2023
99e4ef9
[create-pull-request] automated change (#646)
github-actions[bot] Feb 22, 2023
402a9fd
add release prep secret (#648)
emmyoop Feb 23, 2023
3489bd7
Rename constraints_enabled to contract (#649)
gshank Feb 23, 2023
8c84b80
add codeowners file (#650)
Feb 23, 2023
1d03fc7
mirror issues to ADAP jira project (#642)
Feb 27, 2023
1e176d0
Revert "mirror issues to ADAP jira project (#642)" (#652)
Feb 27, 2023
bcbb878
remove seed_column_tests integration test (#637)
McKnight-42 Feb 27, 2023
d3f7c79
[CT-1968]: Convert incremental_strategies to functional test (#644)
nssalian Mar 1, 2023
ccf57ac
Standardize dev requirements (#653)
mikealfare Mar 1, 2023
154f311
Revert "Revert "mirror issues to ADAP jira project (#642)" (#652)" (#…
Mar 1, 2023
5b58681
update integration test badge to use circleci (#660)
mikealfare Mar 2, 2023
20712a4
Fix for libsasl2 installation (#661)
nssalian Mar 2, 2023
8987e66
Ct 276/iceberg support patch (#651)
VersusFacit Mar 2, 2023
eadf4a7
Bumping version to 1.5.0b2 and generate changelog (#662)
github-actions[bot] Mar 3, 2023
a405d24
implement data_type_code_to_name on SparkConnectionManager (#647)
MichelleArk Mar 3, 2023
0cb64bc
fix SparkConnectionManager.data_type_code_to_name for pyodbc (#664)
MichelleArk Mar 6, 2023
88266c6
support contracts on models materialized as view (#670)
emmyoop Mar 8, 2023
28589d2
work on adapter cut-release and nightly-release update (#668)
McKnight-42 Mar 9, 2023
1eca7a6
add triage-labels workflow (#678)
dbeatty10 Mar 13, 2023
9596853
Use take() instead of collect on dataframe to improve the performance…
akashrn5 Mar 14, 2023
5c22997
ADAP-370/remove integration references (#683)
VersusFacit Mar 15, 2023
53c586a
[create-pull-request] automated change (#686)
github-actions[bot] Mar 17, 2023
d8ed842
Update wheel requirement from ~=0.38 to ~=0.40 (#680)
dependabot[bot] Mar 19, 2023
941768d
Update ipdb requirement from ~=0.13.11 to ~=0.13.13 (#677)
dependabot[bot] Mar 19, 2023
a867b99
ADAP 364 use constraints column order in create_table_as (#684)
gshank Mar 20, 2023
7e1fd69
Bump mypy from 1.0.1 to 1.1.1 (#675)
dependabot[bot] Mar 21, 2023
28e4493
CT-2215: Modify adapter to support unified constraint fields (#681)
peterallenwebb Mar 22, 2023
3b3b2a0
add tests for enforcing contracts for incremental materializations (#…
emmyoop Mar 28, 2023
57a1395
update to retrieve contract enforced from dict (#694)
emmyoop Mar 28, 2023
ccf9a09
Update types-pytz requirement from ~=2022.7 to ~=2023.2 (#697)
dependabot[bot] Mar 29, 2023
ee5ca9f
Update pytz requirement from ~=2022.7 to ~=2023.2 (#696)
dependabot[bot] Mar 29, 2023
74cf095
Update pre-commit requirement from ~=2.21 to ~=3.2 (#687)
dependabot[bot] Mar 29, 2023
a0562e0
[create-pull-request] automated change (#703)
github-actions[bot] Mar 30, 2023
414c1a0
Cleanup main after cutting new 1.5.latest branch (#711)
FishtownBuildBot Apr 17, 2023
8132554
[create-pull-request] automated change (#717)
github-actions[bot] Apr 18, 2023
44b10f9
ADAP-473: Table materialization not properly dropping existing relati…
mikealfare Apr 21, 2023
6d3dd65
Update pytest requirement from ~=7.2 to ~=7.3 (#726)
mikealfare Apr 21, 2023
b13fa3b
Bump mypy from 1.1.1 to 1.2.0 (#708)
dependabot[bot] Apr 21, 2023
c2e1a62
Update types-pytz requirement from ~=2023.2 to ~=2023.3 (#704)
dependabot[bot] Apr 23, 2023
92ce52a
Update pytz requirement from ~=2023.2 to ~=2023.3 (#702)
dependabot[bot] Apr 23, 2023
48b50a9
Update black requirement from ~=23.1 to ~=23.3 (#701)
dependabot[bot] Apr 24, 2023
535e2a4
Update pip-tools requirement from ~=6.12 to ~=6.13 (#737)
dependabot[bot] Apr 24, 2023
8bc8c2c
Bump pyodbc from 4.0.34 to 4.0.35 (#519)
dependabot[bot] Apr 24, 2023
cb41ab0
Ct 1873/support insert overwrite (#700)
VersusFacit Apr 28, 2023
142c7a6
Remove unused `# type: ignore` (#754)
Fokko May 8, 2023
4130412
override schema_string_type fixture and test constraints for int type…
MichelleArk May 11, 2023
5ebff0d
Remove dead code 💀 (#759)
Fokko May 12, 2023
5e9bf97
[create-pull-request] automated change (#769)
github-actions[bot] May 12, 2023
cce8975
update used gh actions ahead of set-output, node12 deprecation (#745)
davidbloss May 16, 2023
933a9de
update used gh actions ahead of node12 deprecation (#783)
davidbloss May 17, 2023
4f1039d
Finish Constraint Support for Spark (#747)
peterallenwebb May 24, 2023
ed31892
[create-pull-request] automated change (#786)
github-actions[bot] May 25, 2023
1ecd8e9
drop support for python 3.7 (#793)
McKnight-42 May 30, 2023
973f538
adding link to 1.5 release notes (#788)
McKnight-42 Jun 1, 2023
b4f6b2c
[Fix] Wrap constraint type 'check' expression in parentheses (#750)
MichelleArk Jun 2, 2023
c22d19a
Standardize the adapter for core debug changes (#794)
VersusFacit Jun 7, 2023
e741034
[create-pull-request] automated change (#800)
github-actions[bot] Jun 9, 2023
4e193c0
TestSparkConstraintQuotedColumn (#798)
MichelleArk Jun 13, 2023
3faffd8
revert change to dev-requirements.txt (#805)
colin-rogers-dbt Jun 13, 2023
d88bd35
skip TestLastDay in spark session (#807)
colin-rogers-dbt Jun 15, 2023
a1d161c
fix utils.py (#809)
colin-rogers-dbt Jun 16, 2023
8ea1597
Disallow untyped `def`'s (#767)
Fokko Jun 24, 2023
b4a2f94
Allow hostname to be provided with or without a trailing slash (#784)
tim-steinkuhler Jun 26, 2023
682c3a3
remove dependent_projects_dict from utils.py (#819)
McKnight-42 Jun 29, 2023
46e991a
update pr template (#831)
Jul 10, 2023
b685297
Fix split part negative part number (#689)
dave-connors-3 Jul 11, 2023
a6dc99f
dbt_clone macros, materialization and tests to dbt-spark (#816)
McKnight-42 Jul 11, 2023
6bbc5a7
add datadog env vars (#836)
emmyoop Jul 17, 2023
e335c76
revert dd (#840)
emmyoop Jul 17, 2023
98f4276
Cleanup main after cutting new 1.6.latest branch (#838)
FishtownBuildBot Jul 18, 2023
d91bd17
Add server side parameters to session connection method (#823)
JCZuurmond Jul 24, 2023
2dd6553
update stale workflow to use centralized version (#842)
mikealfare Jul 25, 2023
955564d
add new line at the end of the dependabot changie to pass linter (#841)
mikealfare Jul 25, 2023
53809c3
Enforce server side parameters to be strings (#827)
JCZuurmond Jul 26, 2023
2680d88
Add server side parameters to http connection method (#825)
JCZuurmond Jul 28, 2023
82ab52a
Bump mypy from 1.2.0 to 1.3.0 (#768)
dependabot[bot] Aug 3, 2023
4ce348a
Update pre-commit requirement from ~=2.21 to ~=3.3 (#748)
dependabot[bot] Aug 3, 2023
8a4572c
Update types-requests requirement from ~=2.28 to ~=2.29 (#749)
dependabot[bot] Aug 3, 2023
7d0da16
Update tox requirement from ~=3.0 to ~=4.5 (#741)
dependabot[bot] Aug 3, 2023
f0d33db
Update pyodbc requirement from ~=4.0.30 to ~=4.0.39 (#742)
dependabot[bot] Aug 4, 2023
6e81502
Update flake8 requirement from ~=6.0 to ~=6.1 (#849)
dependabot[bot] Aug 4, 2023
257853c
Update pytest requirement from ~=7.3 to ~=7.4 (#852)
dependabot[bot] Aug 4, 2023
5d58150
Update pytest-xdist requirement from ~=3.2 to ~=3.3 (#851)
dependabot[bot] Aug 4, 2023
d917bfa
Update pip-tools requirement from ~=6.13 to ~=7.2 (#856)
dependabot[bot] Aug 7, 2023
ce265ba
Update wheel requirement from ~=0.40 to ~=0.41 (#858)
dependabot[bot] Aug 7, 2023
33e86d6
Update tox requirement from ~=4.5 to ~=4.6 (#861)
dependabot[bot] Aug 9, 2023
6000540
Update adaptors.sql to use `tblproperties` macro (#848)
etheleon Aug 9, 2023
0b80b47
test adding lib deps to spark session docker (#845)
colin-rogers-dbt Aug 10, 2023
5ed503a
Add ConnectionWrapper base class (#828)
Fokko Aug 10, 2023
a4ffc6a
[ADAP-558] Wrap `AnalysisException` into `DbtRuntimeError` (#782)
Fokko Aug 10, 2023
c40184e
Update pip-tools requirement from ~=7.2 to ~=7.3 (#863)
dependabot[bot] Aug 11, 2023
c94891e
Update tox requirement from ~=4.6 to ~=4.7 (#867)
dependabot[bot] Aug 12, 2023
097534b
Bump mypy from 1.3.0 to 1.4.1 (#860)
dependabot[bot] Aug 12, 2023
88011bc
Update tox requirement from ~=4.7 to ~=4.8 (#871)
dependabot[bot] Aug 15, 2023
7c42288
Bump mypy from 1.4.1 to 1.5.0 (#872)
dependabot[bot] Aug 15, 2023
537b426
Update black requirement from ~=23.3 to ~=23.7 (#857)
dependabot[bot] Aug 15, 2023
cf0db2a
Update mock requirement from ~=5.0 to ~=5.1 (#859)
dependabot[bot] Aug 16, 2023
62e87ea
Update types-requests requirement from ~=2.29 to ~=2.31 (#850)
dependabot[bot] Aug 16, 2023
cb39fb1
Added server side parameters for thrift connection type (#577)
hanna-liashchuk Aug 16, 2023
6ffd767
[create-pull-request] automated change (#877)
github-actions[bot] Aug 17, 2023
07383d9
Use PyHive pure-sasl import (#818)
colin-rogers-dbt Aug 21, 2023
91f9887
Update tox requirement from ~=4.8 to ~=4.9 (#874)
dependabot[bot] Aug 25, 2023
01c9fd0
remove holograms and supply defaults/validation logic (#880)
colin-rogers-dbt Aug 31, 2023
efa1b18
Add docker image to the repo (#876)
Fokko Aug 31, 2023
9a4fc6f
Update black requirement from ~=23.7 to ~=23.9 (#886)
dependabot[bot] Sep 12, 2023
ec16f32
Update pre-commit requirement from ~=3.3 to ~=3.4 (#884)
dependabot[bot] Sep 12, 2023
8339503
Update tox requirement from ~=4.9 to ~=4.10 (#879)
dependabot[bot] Sep 12, 2023
af4674c
Bump mypy from 1.5.0 to 1.5.1 (#875)
dependabot[bot] Sep 12, 2023
b63b9b9
Update tox requirement from ~=4.10 to ~=4.11 (#887)
dependabot[bot] Sep 13, 2023
1672efd
persist view column comments (#893)
colin-rogers-dbt Sep 26, 2023
992de28
[create-pull-request] automated change (#898)
github-actions[bot] Oct 2, 2023
04d01af
ADAP-894: Support test results as views (#889)
mikealfare Oct 11, 2023
7bf1934
Create temporary views with 'or replace' (#906)
colin-rogers-dbt Oct 11, 2023
cd1783a
Update docs on Spark version (#897)
Fokko Oct 11, 2023
ff6bddb
Cleanup main after cutting new 1.7.latest branch (#907)
FishtownBuildBot Oct 12, 2023
7ac4a7e
add docs-issue workflow to dbt-spark (#913)
McKnight-42 Oct 13, 2023
99c5c5a
Mcknight/fix test store test (#832)
McKnight-42 Oct 17, 2023
13c4206
Update pre-commit requirement from ~=3.4 to ~=3.5 (#914)
dependabot[bot] Oct 27, 2023
d81cb27
Update pre-commit-hooks requirement from ~=4.4 to ~=4.5 (#903)
dependabot[bot] Oct 27, 2023
c4b3705
Bump mypy from 1.5.1 to 1.6.0 (#904)
dependabot[bot] Oct 27, 2023
76f890e
Update pyodbc requirement from ~=4.0.39 to ~=5.0.0 (#905)
dependabot[bot] Oct 27, 2023
fed3d5f
Update black requirement from ~=23.9 to ~=23.10 (#927)
dependabot[bot] Oct 31, 2023
36c28b9
Update pyodbc requirement from ~=5.0.0 to ~=5.0.1 (#925)
dependabot[bot] Nov 2, 2023
dffea96
Bump mypy from 1.6.0 to 1.6.1 (#926)
dependabot[bot] Nov 2, 2023
0f39bd1
Support new agate Integer type and test with empty seed (#936)
gshank Nov 7, 2023
5bbf673
Update black requirement from ~=23.10 to ~=23.11 (#942)
dependabot[bot] Nov 8, 2023
8d08b76
Bump mypy from 1.6.1 to 1.7.0 (#946)
dependabot[bot] Nov 27, 2023
1207e2c
Update pytest-xdist requirement from ~=3.3 to ~=3.4 (#947)
dependabot[bot] Nov 27, 2023
1d47a3d
Bump mypy from 1.7.0 to 1.7.1 (#953)
dependabot[bot] Nov 28, 2023
ba2085f
Update wheel requirement from ~=0.41 to ~=0.42 (#952)
dependabot[bot] Nov 29, 2023
da258f8
Update pytest-xdist requirement from ~=3.4 to ~=3.5 (#951)
dependabot[bot] Nov 29, 2023
d0a60a7
add tests for --empty flag (#948)
MichelleArk Dec 1, 2023
a813e40
Update freezegun requirement from ~=1.2 to ~=1.3 (#956)
dependabot[bot] Dec 13, 2023
ffc24ba
Update black requirement from ~=23.11 to ~=23.12 (#959)
dependabot[bot] Dec 13, 2023
f774bcb
Remove unused `invalid_insert_overwrite_delta_msg` variable (#963)
dbeatty10 Dec 14, 2023
5210d0a
Fix hardcoded file format in python materializations (#955)
ben-schreiber Dec 21, 2023
f9f75e9
Migrate Off Circle CI / To Github Actions + dagger.io (#923)
colin-rogers-dbt Jan 10, 2024
e97918b
fix ODBC_DRIVER env var (#971)
colin-rogers-dbt Jan 11, 2024
5d90ff9
feature/decouple adapters from core (#972)
colin-rogers-dbt Jan 25, 2024
613fa58
fix spark cluster start mechanism and add extra dev requirements (#986)
colin-rogers-dbt Feb 20, 2024
ef91425
Add functional tests for unit testing (#976)
MichelleArk Feb 21, 2024
5d60008
remove actions that sync github and jira (#977)
mikealfare Feb 27, 2024
5246f82
update dbt-common dependency to <2.0 (#992)
colin-rogers-dbt Feb 28, 2024
c56b9ce
include a pre-release in the dbt-adapters pin to allow pre-releases t…
mikealfare Feb 29, 2024
0aee01e
update install_requires to allow for pre-release common/adapters (#995)
colin-rogers-dbt Mar 1, 2024
4803559
[create-pull-request] automated change (#994)
github-actions[bot] Mar 2, 2024
d568d21
Vendor release-prep from centralized dbt-release, replace tox testing…
mikealfare Mar 2, 2024
a2c4871
add tox file so release workflows succeed (#996)
colin-rogers-dbt Mar 2, 2024
748c7f6
Add workflow for spark and changelog (#998)
VersusFacit Mar 19, 2024
9fe1a06
Finish internal build workflow (#999)
VersusFacit Mar 27, 2024
7129f59
Pin `black>=24.3` (#1000)
mikealfare Mar 28, 2024
45b904c
Pin `beartype<0.18.0` (#1001)
mikealfare Apr 2, 2024
377c65f
Add `dbt-core~=1.8.0a1` as convenience dep (#1002)
mikealfare Apr 3, 2024
da88539
[create-pull-request] automated change (#1003)
github-actions[bot] Apr 3, 2024
0646c24
test name change (#1005)
McKnight-42 Apr 11, 2024
e93deea
Update dependabot config to cover GHA and Docker (#1006)
mikealfare Apr 19, 2024
080ba71
add pre-commit check for dbt-core (#1015)
mikealfare Apr 19, 2024
c5742f2
pin macos test runners to macos-12 (#1016)
mikealfare Apr 25, 2024
c0c3f4f
Bump actions/checkout from 3 to 4 (#1014)
dependabot[bot] Apr 25, 2024
8dfd12c
Bump actions/setup-python from 4 to 5 (#1013)
dependabot[bot] Apr 25, 2024
804567c
skip tests on `main` to unblock CI, create issues to fix them (#1034)
mikealfare May 3, 2024
bec1911
Cleanup main after cutting new 1.8.latest branch (#1032)
FishtownBuildBot May 6, 2024
70f6060
Add missing changelog backlinks. (#1039)
VersusFacit May 7, 2024
b657767
Update CODEOWNERS (#1040)
mikealfare May 8, 2024
94bfcd9
Move to `pre-commit` only (#1026)
mikealfare May 8, 2024
1f4442a
[Bug] Fix constraints enforcement rollover test (#1041)
mikealfare May 10, 2024
94af50e
Cross-database `date` macro (#1030)
dbeatty10 May 13, 2024
629ea94
[Bug] Fix incremental python tables - dbt can't find temporary table …
mikealfare May 14, 2024
9b3dd3f
Import relevant pytest(s) for cross-database `cast` macro (#1029)
dbeatty10 May 14, 2024
6f8ff60
Bump deps on common, adapters, core (#1045)
jtcohen6 May 14, 2024
944dbea
Add docker release to the full release process for final releases (#…
mikealfare May 21, 2024
7850da3
Adap 1049/lazy load agate (#1050)
VersusFacit Jun 14, 2024
ba5b3f0
skip broken tests, link to the issue for resolution (#1056)
mikealfare Jun 21, 2024
cd6efba
update user docs-issue workflow (#1051)
McKnight-42 Jun 21, 2024
50634b9
update spark internal-release workflow (#1052)
colin-rogers-dbt Jun 24, 2024
824ca0f
Update the spark version to the current version (#1055)
mikealfare Jun 26, 2024
034cb61
Base 207/add test (#1057)
VersusFacit Jul 8, 2024
81a7cf2
delete duplicate fixture
colin-rogers-dbt Jul 10, 2024
92f4a0b
Merge remote-tracking branch 'origin/main'
colin-rogers-dbt Jul 10, 2024
2a31d3f
Revert "delete duplicate fixture"
colin-rogers-dbt Jul 10, 2024
a096642
Update freezegun requirement from ~=1.3 to ~=1.4 (#966)
dependabot[bot] Jul 17, 2024
e87c93c
Bump dbt-labs/actions from 1.1.0 to 1.1.1 (#1012)
dependabot[bot] Jul 17, 2024
1d7ed0e
Update wheel requirement from ~=0.42 to ~=0.43 (#1035)
dependabot[bot] Jul 18, 2024
d0474c3
Bump actions/download-artifact from 3 to 4 (#1010)
dependabot[bot] Jul 18, 2024
0053c00
Bump actions/upload-artifact from 3 to 4 (#1011)
dependabot[bot] Jul 18, 2024
eae8d2f
Bump pre-commit from 3.7.0 to 3.7.1 (#1074)
dependabot[bot] Jul 19, 2024
6cec5d5
Update pytest-xdist requirement from ~=3.5 to ~=3.6 (#1073)
dependabot[bot] Jul 19, 2024
a7854b5
make dependabot less aggressive (#1077)
mikealfare Jul 24, 2024
a52aac6
remove unused test dependencies (#1078)
mikealfare Jul 24, 2024
46348bc
update netcat install method to fix ci/cd (#1084)
McKnight-42 Jul 31, 2024
2580ac5
Integration workflow update to support all-in-one adapter testing (#1…
gshank Aug 1, 2024
2124423
Add support for 3.12 in workflow files and configs. (#1081)
VersusFacit Aug 8, 2024
3fc624c
Feature/http odbc conn extra (#1093)
colin-rogers-dbt Sep 12, 2024
8c6fcb4
Allow configuring snapshot column names (#1097)
gshank Sep 20, 2024
101aad2
Microbatch Strategy (#1108)
MichelleArk Sep 25, 2024
257e390
update dbt-common dependency to 1.10 and dbt-adapters to 1.7 (#1111)
colin-rogers-dbt Sep 26, 2024
e6e1e10
Setup upper bound on numpy import in TestChangingSchemaSpark (#1120)
colin-rogers-dbt Oct 15, 2024
805a08e
Enable setting dbt_valid_to snapshot column to new setting dbt_valid_…
gshank Oct 15, 2024
45ab21a
Drop support for Python 3.8 (#1121)
mikealfare Oct 17, 2024
4863bdd
[create-pull-request] automated change (#1116)
github-actions[bot] Oct 17, 2024
d72693b
Isolating distribution testing (#1105)
leahwicz Oct 18, 2024
afd1829
move from macos-12 to macos-14 (#1136)
mikealfare Nov 8, 2024
70a78e2
move github runner from macos-12 to macos-14 (#1135)
colin-rogers-dbt Nov 8, 2024
0ccce2f
update libpq-dev dependency to 13.18-0+deb11u1 (#1148)
colin-rogers-dbt Dec 4, 2024
268f3af
Add version bump into release.yml (#1147)
colin-rogers-dbt Dec 11, 2024
a38a288
Cleanup main after cutting new 1.9.latest branch (#1145)
FishtownBuildBot Dec 11, 2024
0247ad9
ADAP-1118: Migrate to pyproject.toml (#1150)
mikealfare Dec 20, 2024
489da19
ADAP-1122: Move dbt-spark into a namespace subpackage (#1168)
mikealfare Jan 7, 2025
a05e4ff
migrate dbt-spark into dbt-adapters
mikealfare Jan 12, 2025
10e5ceb
update workflows to support dbt-spark in the monorepo
mikealfare Jan 13, 2025
f27857b
remove typing additions, leave as separate pull request
mikealfare Jan 13, 2025
39cabd9
add dbt-spark as option for testing integration tests workflow
mikealfare Jan 13, 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
39 changes: 31 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
resolves #<issue-number>
resolves #
[docs](https://github.com/dbt-labs/docs.getdbt.com/issues/new/choose) dbt-labs/docs.getdbt.com/#

# Description
<!---
Include the number of the issue addressed by this PR above if applicable.
PRs for code changes without an associated issue *will not be merged*.
See CONTRIBUTING.md for more information.

<!-- What approach was taken to resolve the issue and why? -->
Include the number of the docs issue that was opened for this PR. If
this change has no user-facing implications, "N/A" suffices instead. New
docs tickets can be created by clicking the link above or by going to
https://github.com/dbt-labs/docs.getdbt.com/issues/new/choose.
-->

## Checklist
### Problem

- [ ] This PR considers the [contributing guide](https://github.com/dbt-labs/dbt-adapters#contributing)
- [ ] This PR is small and focused on a single feature or bug fix
- [ ] This PR includes unit testing, or unit testing is not necessary
- [ ] This PR includes functional testing, or functional testing is not necessary
<!---
Describe the problem this PR is solving. What is the application state
before this PR is merged?
-->

### Solution

<!---
Describe the way this PR solves the above problem. Add as much detail as you
can to help reviewers understand your changes. Include any alternatives and
tradeoffs you considered.
-->

### Checklist

- [ ] I have read [the contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md) and understand what's expected of me
- [ ] I have run this code in development and it appears to resolve the stated issue
- [ ] This PR includes tests, or tests are not required/relevant for this PR
- [ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,23 @@ updates:
- "/dbt-tests-adapter"
- "/dbt-athena"
- "/dbt-athena-community"
- "/dbt-spark"
schedule:
interval: "daily"
rebase-strategy: "disabled"
ignore:
- dependency-name: "*"
update-types:
- version-update:semver-patch
- package-ecosystem: "docker"
directory: "dbt-spark/docker"
schedule:
interval: "weekly"
rebase-strategy: "disabled"
ignore:
- dependency-name: "*"
update-types:
- version-update:semver-patch
- package-ecosystem: "github-actions"
directory: "/"
schedule:
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-spark"
merge:
description: "Choose whether to merge the changelog branch"
type: boolean
Expand Down
47 changes: 47 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-spark"
branch:
description: "Choose the branch to test"
type: string
Expand All @@ -52,6 +53,17 @@ permissions:
id-token: write
contents: read

env:
DBT_INVOCATION_ENV: ${{ vars.DBT_INVOCATION_ENV }}
DD_CIVISIBILITY_AGENTLESS_ENABLED: ${{ vars.DD_CIVISIBILITY_AGENTLESS_ENABLED }}
DD_API_KEY: ${{ secrets.DD_API_KEY }}
DD_SITE: ${{ vars.DD_SITE }}
DD_ENV: ${{ vars.DD_ENV }}
DD_SERVICE: ${{ github.event.repository.name }} # this can change per run because of forks
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 }}

jobs:
integration-tests-athena:
if: ${{ inputs.package == 'dbt-athena' || inputs.package == 'dbt-athena-community' }}
Expand Down Expand Up @@ -83,3 +95,38 @@ jobs:
aws-region: ${{ vars.DBT_TEST_ATHENA_REGION_NAME }}
- run: hatch run integration-tests
working-directory: ./${{ inputs.package }}

integration-tests-spark:
if: ${{ inputs.package == 'dbt-spark' }}
runs-on: ${{ inputs.os }}
environment:
name: "dbt-spark"
env:
DBT_DATABRICKS_CLUSTER_NAME: ${{ secrets.DBT_DATABRICKS_CLUSTER_NAME }}
DBT_DATABRICKS_HOST_NAME: ${{ secrets.DBT_DATABRICKS_HOST_NAME }}
DBT_DATABRICKS_ENDPOINT: ${{ secrets.DBT_DATABRICKS_ENDPOINT }}
DBT_DATABRICKS_TOKEN: ${{ secrets.DBT_DATABRICKS_TOKEN }}
DBT_DATABRICKS_USER: ${{ secrets.DBT_DATABRICKS_USER }}
strategy:
fail-fast: false
matrix:
profile:
- "apache_spark"
- "spark_session"
- "spark_http_odbc"
- "databricks_sql_endpoint"
- "databricks_cluster"
- "databricks_http_cluster"
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 pip install -r dagger/requirements.txt
working-directory: ./${{ inputs.package }}
- run: hatch run integration-tests --profile ${{ matrix.profile }}
working-directory: ./${{ inputs.package }}
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-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
type: environment
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-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
type: environment
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-spark"
branch:
description: "Choose the branch to test"
type: string
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-spark"
branch:
description: "Choose the branch to build"
type: string
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-spark"
deploy-to:
description: "Choose whether to publish to test or prod"
type: environment
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-spark"
os: [ubuntu-22.04]
python-version: ["3.9", "3.10", "3.11", "3.12"]
with:
Expand All @@ -52,6 +53,7 @@ jobs:
- "dbt-adapters"
- "dbt-athena"
- "dbt-athena-community"
- "dbt-spark"
os: [ ubuntu-22.04 ]
python-version: ["3.9", "3.10", "3.11", "3.12"]
with:
Expand All @@ -69,6 +71,7 @@ jobs:
package:
- "dbt-athena"
- "dbt-athena-community"
- "dbt-spark"
os: [ubuntu-22.04]
python-version: ["3.9", "3.10", "3.11", "3.12"]
with:
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ dmypy.json
# pytype static type analyzer
.pytype/

# Pyenv
.python-version

# Cython debug symbols
cython_debug/

Expand All @@ -164,3 +167,10 @@ cython_debug/

# Vim
*.swp

# other
.hive-metastore/
.spark-warehouse/
dbt-integration-tests
/.tool-versions
/.hypothesis/*
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ repos:
- --target-version=py311
- --target-version=py312
- --force-exclude=dbt/adapters/events/adapter_types_pb2.py
additional_dependencies: [flaky]

- repo: https://github.com/pycqa/flake8
mikealfare marked this conversation as resolved.
Show resolved Hide resolved
rev: 7.1.1
hooks:
- id: flake8
exclude: dbt/adapters/events/adapter_types_pb2.py|tests/functional/
exclude: dbt/adapters/events/adapter_types_pb2.py|tests/functional/|dbt-spark/tests/
args:
- --max-line-length=99
- --select=E,F,W
Expand All @@ -54,4 +55,6 @@ repos:
additional_dependencies:
- types-PyYAML
- types-protobuf
- types-python-dateutil
- types-pytz
- types-requests
12 changes: 12 additions & 0 deletions dbt-spark/.changes/0.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Previous Releases
For information on prior major and minor releases, see their changelogs:
- [1.6](https://github.com/dbt-labs/dbt-spark/blob/1.6.latest/CHANGELOG.md)
- [1.5](https://github.com/dbt-labs/dbt-spark/blob/1.5.latest/CHANGELOG.md)
- [1.4](https://github.com/dbt-labs/dbt-spark/blob/1.4.latest/CHANGELOG.md)
- [1.3](https://github.com/dbt-labs/dbt-spark/blob/1.3.latest/CHANGELOG.md)
- [1.2](https://github.com/dbt-labs/dbt-spark/blob/1.2.latest/CHANGELOG.md)
- [1.1](https://github.com/dbt-labs/dbt-spark/blob/1.1.latest/CHANGELOG.md)
- [1.0](https://github.com/dbt-labs/dbt-spark/blob/1.0.latest/CHANGELOG.md)
- [0.21](https://github.com/dbt-labs/dbt-spark/blob/0.21.latest/CHANGELOG.md)
- [0.20](https://github.com/dbt-labs/dbt-spark/blob/0.20.latest/CHANGELOG.md)
- [0.19 and earlier](https://github.com/dbt-labs/dbt-spark/blob/0.19.latest/CHANGELOG.md)
3 changes: 3 additions & 0 deletions dbt-spark/.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-spark/blob/main/.changes/README.md) found in `dbt-spark`.
6 changes: 6 additions & 0 deletions dbt-spark/.changes/header.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# dbt-spark Changelog

- This file provides a full account of all changes to `dbt-spark`.
- 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-spark/blob/main/CONTRIBUTING.md#adding-changelog-entry)
Empty file.
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-12-07T18:18:14.85697-05:00
custom:
Author: mikealfare
Issue: "1150"
Loading
Loading