rex
11/28/2022, 11:40 PMrex
11/30/2022, 7:45 PMChris Dong
11/30/2022, 8:33 PMrex
12/01/2022, 12:43 AMDavid Jayatillake
12/02/2022, 6:20 PMFélix Tremblay
12/05/2022, 2:49 AMtarget-path
in the dbt_project.yml
is not used
• a workaround is to set the config target_path for dbt_cli_resource
, but I think many dbt users will want to use dbt_project.yml
Jason
12/05/2022, 11:22 PMdbt Cloud
resource and as Assets.
For e.g a dbt run-operation
before or after dbt build
in a job?Loc Nguyen
12/06/2022, 9:22 AMKirk Stennett
12/06/2022, 4:17 PMMike Needham
12/07/2022, 10:16 AMMike Needham
12/07/2022, 10:16 AMMike Needham
12/07/2022, 10:17 AMOlivier Girardot
12/07/2022, 9:37 PMPieter Custers
12/08/2022, 10:48 AMMike Needham
12/08/2022, 10:24 PMPeter Lim
12/08/2022, 10:57 PMTejas
12/12/2022, 6:34 PMdbt_metrics_default_calendar
dbt model from dbt_packages/metrics
. I am using DBT metrics to create few models. So those metrics are depends upon dbt_metrics_default_calendar
dbt model, from dbt_packages/metrics
. But I am unable to execute the dbt_metrics_default_calendar
from dagster asset. Running dbt command is not picking dbt_metrics_default_calendar
. Its picking all the custom models defined by me in the DBT_ROOT_DIR
path except default calendar model from the package.
Warehouse: Snowflake
dbt_metrics: 1.3.0 --version
dbt=1.3.1
Jason
12/12/2022, 7:01 PMFreshnessPolicy
& build_asset_reconciliation_sensor
as outlined apply to dbt Cloud assets? I'm aware that if you select individual assets to materialize, Dagster will override the dbt cloud job with that selection, so I'm wondering Dagster takes the same approach with freshness and reconciliation.
E.g. a non-dbt cloud asset, A, is stale and dbt cloud asset, B, is dependent on A. Asset B has dbt children C & D but dbt cloud job also has E, F and G which has no dependencies). Will the reconciliation sensor and FreshnessPolicy work and result in Dagster triggering a dbt build for only B, C and D?
https://docs.dagster.io/guides/dagster/scheduling-assetsJason
12/13/2022, 9:15 AMdbt_a
and dbt_b
and 2 SDAs, sda_a
and sda_b
with dbt_a -> sda_a
and dbt_b -> sda_b
My concern is that when I'm trying to build a job with define_asset_job("job", selection=AssetSelection.groups("dbt") | AssetSelection.groups("sda"))
, when a dbt materialization fails, none of the sda materialization is launched because a single step is build for all the dbt assets (I'd prefer if sda_b
was run if dbt_b
succeeds, even if dbt_a
fails)
Do you know if there is a way to achieve this?geoHeil
12/13/2022, 2:35 PMgeoHeil
12/15/2022, 3:29 PMPunyawee Chananan
12/16/2022, 2:00 AMdagster._core.errors.DagsterImportError: Encountered ImportError: `cannot import name 'duckdb_pandas_io_manager' from 'dagster_duckdb_pandas' (C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster_duckdb_pandas\__init__.py)` while importing module tutorial_dbt_dagster. Local modules were resolved using the working directory `D:\Playground\testest\my-dagster-project\tutorial_finished`. If another working directory should be used, please explicitly specify the appropriate path using the `-d` or `--working-directory` for CLI based targets or the `working_directory` configuration option for workspace targets.
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_grpc\server.py", line 230, in __init__
self._loaded_repositories: Optional[LoadedRepositories] = LoadedRepositories(
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_grpc\server.py", line 104, in __init__
loadable_targets = get_loadable_targets(
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_grpc\utils.py", line 53, in get_loadable_targets
else loadable_targets_from_python_package(package_name, working_directory)
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_core\workspace\autodiscovery.py", line 49, in loadable_targets_from_python_package
module = load_python_module(
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_core\code_pointer.py", line 141, in load_python_module
raise DagsterImportError(
The above exception was caused by the following exception:
ImportError: cannot import name 'duckdb_pandas_io_manager' from 'dagster_duckdb_pandas' (C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster_duckdb_pandas\__init__.py)
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\site-packages\dagster\_core\code_pointer.py", line 136, in load_python_module
return importlib.import_module(module_name)
File "C:\Users\Punyawee\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "D:\Playground\testest\my-dagster-project\tutorial_finished\tutorial_dbt_dagster\__init__.py", line 1, in <module>
from .repository import tutorial_dbt_dagster
File "D:\Playground\testest\my-dagster-project\tutorial_finished\tutorial_dbt_dagster\repository.py", line 4, in <module>
from dagster_duckdb_pandas import duckdb_pandas_io_manager
https://github.com/dagster-io/dagster/tree/master/examples/tutorial_dbt_dagsterChris Histe
12/16/2022, 3:25 PMQwame
12/19/2022, 4:06 PMDefinitions
api and I got this. I don't think it is Dagster since it's dbt's api limits. Any ideas how I can get around this? Or any others seeing the same thing?Will Curatolo
12/28/2022, 8:53 PMdbt run
geoHeil
01/02/2023, 8:50 PMZachary Bluhm
01/05/2023, 6:40 PMview
tables?
I noticed after running such a table that it produces a log like:
op 'test_view_7d9e8' did not fire outputs {'test_view'}
And no assets are actually materialized. Is this expected behavior?Qwame
01/05/2023, 11:32 PMio_manager
that's used when we load_assets_from_dbt_project
? I want to be able to use my dbt assets like this
@asset
def pull_table_as_dataframe(context, my_dbt_table_one):
ab = my_dbt_table_one.rename(columns={...})
## Now use the ab object for other things
return whatever
Where my_dbt_table_one
was loaded using load_assets_from_dbt_project
. I know I need to configure an io_manager
for this. Wondering if anyone has used a custom IO manager when loading assets from dbt?Leo Qin
01/09/2023, 4:30 PMAlexander Eric Wijaya
01/10/2023, 5:24 AM