Skip to content

Commit

Permalink
Upgrade DLT and Duckdb (#2441)
Browse files Browse the repository at this point in the history
* Update dlt and duckdb

* Make schedules stopped by default
  • Loading branch information
ravenac95 authored Oct 31, 2024
1 parent d197275 commit 038806c
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 70 deletions.
126 changes: 67 additions & 59 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dask-kubernetes = "^2024.4.2"
dbt-bigquery = "^1.7.0"
dbt-core = "^1.8.2"
discord-webhook = "^1.3.1"
dlt = { extras = ["duckdb"], version = "^0.5.2" }
duckdb = "^0.10.2"
dlt = "^1.3.0"
duckdb = "^1.1.0"
gcsfs = "^2024.6.1"
google-api-python-client = "^2.116.0"
google-cloud-bigquery = "^3.17.1"
Expand Down
5 changes: 4 additions & 1 deletion warehouse/oso_dagster/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from dagster_k8s import k8s_job_executor
from dagster_embedded_elt.dlt import DagsterDltResource
from dotenv import load_dotenv
from oso_dagster.utils.dbt import support_home_dir_profiles
from . import constants
from .schedules import schedules, get_partitioned_schedules
from .cbt import CBTResource
Expand Down Expand Up @@ -114,7 +115,9 @@ def load_definitions():
}
for target in constants.main_dbt_manifests:
resources[f"{target}_dbt"] = DbtCliResource(
project_dir=os.fspath(constants.main_dbt_project_dir), target=target
project_dir=os.fspath(constants.main_dbt_project_dir),
target=target,
profiles_dir=support_home_dir_profiles(),
)

extra_kwargs = {}
Expand Down
Loading

0 comments on commit 038806c

Please sign in to comment.