Skip to content

Commit

Permalink
Merge branch 'main' into mcknight/fix-test-store-test
Browse files Browse the repository at this point in the history
  • Loading branch information
McKnight-42 authored Aug 2, 2023
2 parents c6afbd5 + 2680d88 commit 637f89a
Show file tree
Hide file tree
Showing 41 changed files with 100 additions and 271 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.6.0b3
current_version = 1.7.0a1
parse = (?P<major>[\d]+) # major version number
\.(?P<minor>[\d]+) # minor version number
\.(?P<patch>[\d]+) # patch version number
Expand Down
1 change: 1 addition & 0 deletions .changes/0.0.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 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)
Expand Down
1 change: 0 additions & 1 deletion .changes/1.6.0-a1.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changes/1.6.0-b1.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/1.6.0-b2.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changes/1.6.0-b3.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230329-102021.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230406-230203.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230421-041623.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230421-180054.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230421-230051.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Dependencies-20230423-215745.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.6.0/Dependency-20221116-221906.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.6.0/Features-20220812-091652.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Features-20230427-123135.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Features-20230604-043421.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Fixes-20230420-214433.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Fixes-20230510-154735.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Fixes-20230512-151453.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Under the Hood-20230508-222118.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/1.6.0/Under the Hood-20230530-162533.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Features-20230627-155913.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230707-104150.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Support server_side_parameters for Spark session connection method
time: 2023-07-07T10:41:50.01541+02:00
custom:
Author: alarocca-apixio
Issue: "690"
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230707-113337.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Add server_side_parameters to HTTP connection method
time: 2023-07-07T11:33:37.794112+02:00
custom:
Author: Fokko,JCZuurmond
Issue: "824"
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230707-114650.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Enforce server side parameters keys and values to be strings
time: 2023-07-07T11:46:50.390918+02:00
custom:
Author: Fokko,JCZuurmond
Issue: "826"
6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20230319-155618.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20230510-163110.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20230623-112100.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20230628-162413.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20230724-165508.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Update stale workflow to use centralized version
time: 2023-07-24T16:55:08.096947-04:00
custom:
Author: mikealfare
Issue: "842"
41 changes: 21 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,24 @@ jobs:
- checkout
- run: tox -e flake8,unit

integration-spark-session:
environment:
DBT_INVOCATION_ENV: circle
docker:
- image: godatadriven/pyspark:3.1
steps:
- checkout
- run: apt-get update
- run: python3 -m pip install --upgrade pip
- run: apt-get install -y git gcc g++ unixodbc-dev libsasl2-dev
- run: python3 -m pip install tox
- run:
name: Run integration tests
command: tox -e integration-spark-session
no_output_timeout: 1h
- store_artifacts:
path: ./logs
# Turning off for now due to flaky runs of tests will turn back on at later date.
# integration-spark-session:
# environment:
# DBT_INVOCATION_ENV: circle
# docker:
# - image: godatadriven/pyspark:3.1
# steps:
# - checkout
# - run: apt-get update
# - run: python3 -m pip install --upgrade pip
# - run: apt-get install -y git gcc g++ unixodbc-dev libsasl2-dev
# - run: python3 -m pip install tox
# - run:
# name: Run integration tests
# command: tox -e integration-spark-session
# no_output_timeout: 1h
# - store_artifacts:
# path: ./logs

integration-spark-thrift:
environment:
Expand Down Expand Up @@ -115,9 +116,9 @@ workflows:
test-everything:
jobs:
- unit
- integration-spark-session:
requires:
- unit
# - integration-spark-session:
# requires:
# - unit
- integration-spark-thrift:
requires:
- unit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bot-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
commit_message: "Add automated changelog yaml from template for bot PR"
changie_kind: ${{ matrix.changie_kind }}
label: ${{ matrix.label }}
custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n PR: ${{ github.event.pull_request.number }}"
custom_changelog_string: "custom:\n Author: ${{ github.event.pull_request.user.login }}\n PR: ${{ github.event.pull_request.number }}\n"
17 changes: 7 additions & 10 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
name: 'Close stale issues and PRs'
name: "Close stale issues and PRs"
on:
schedule:
- cron: "30 1 * * *"

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
# pinned at v4 (https://github.com/actions/stale/releases/tag/v4.0.0)
- uses: actions/stale@cdf15f641adb27a71842045a94023bef6945e3aa
with:
stale-issue-message: "This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days."
stale-pr-message: "This PR has been marked as Stale because it has been open for 180 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR, or it will be closed in 7 days."
# mark issues/PRs stale when they haven't seen activity in 180 days
days-before-stale: 180
uses: dbt-labs/actions/.github/workflows/stale-bot-matrix.yml@main
57 changes: 1 addition & 56 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,64 +5,9 @@
- "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)

## dbt-spark 1.6.0-b3 - June 09, 2023

### Features

- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-spark/issues/PR754))

### Fixes

- wrap expression for check constraints in parentheses ([#7480](https://github.com/dbt-labs/dbt-spark/issues/7480))

### Under the Hood

- drop support for python 3.7 ([#792](https://github.com/dbt-labs/dbt-spark/issues/792))



## dbt-spark 1.6.0-b2 - May 25, 2023

### Features

- All constraint types are supported, but not enforced. ([#656](https://github.com/dbt-labs/dbt-spark/issues/656), [#657](https://github.com/dbt-labs/dbt-spark/issues/657))

## dbt-spark 1.6.0-b1 - May 12, 2023

### Features

- Support insert_overwrite strategy with delta ([#1013](https://github.com/dbt-labs/dbt-spark/issues/1013))

### Fixes

- Fixed issue where table materialization was not always properly refreshing for non-admin users on Databricks ([#725](https://github.com/dbt-labs/dbt-spark/issues/725))
- Remove dead code 💀 ([#758](https://github.com/dbt-labs/dbt-spark/issues/758))

### Under the Hood

- Remove unneeded type ignore ([#753](https://github.com/dbt-labs/dbt-spark/issues/753))

### Dependencies

- Update black requirement from ~=23.1 to ~=23.3 ([#701](https://github.com/dbt-labs/dbt-spark/pull/701))
- Bump mypy from 1.1.1 to 1.2.0 ([#708](https://github.com/dbt-labs/dbt-spark/pull/708))
- Update pytest requirement from ~=7.2 to ~=7.3 ([#726](https://github.com/dbt-labs/dbt-spark/pull/726))
- Update types-pytz requirement from ~=2023.2 to ~=2023.3 ([#704](https://github.com/dbt-labs/dbt-spark/pull/704))
- Update pip-tools requirement from ~=6.12 to ~=6.13 ([#737](https://github.com/dbt-labs/dbt-spark/pull/737))
- Update pytz requirement from ~=2023.2 to ~=2023.3 ([#702](https://github.com/dbt-labs/dbt-spark/pull/702))

### Dependency

- Bump pyodbc from 4.0.34 to 4.0.35 ([#417](https://github.com/dbt-labs/dbt-spark/issues/417))

### Contributors
- [@Fokko](https://github.com/Fokko) ([#758](https://github.com/dbt-labs/dbt-spark/issues/758), [#753](https://github.com/dbt-labs/dbt-spark/issues/753))
- [@flvndh](https://github.com/flvndh) ([#1013](https://github.com/dbt-labs/dbt-spark/issues/1013))

## dbt-spark 1.6.0-a1 - April 17, 2023

## 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)
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/spark/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.6.0b3"
version = "1.7.0a1"
Loading

0 comments on commit 637f89a

Please sign in to comment.