Mitchell Fasanya

02/09/2023, 4:42 PM
We are getting this issue do we have an eta on when dbt-core 1.4.0 will be supported?
dagster_dbt.errors.DagsterDbtCliHandledRuntimeError: Handled error in the dbt CLI (return code 1)
Parsed CLI Messages
Running with dbt=1.2.4
Found 214 models, 245 tests, 0 snapshots, 0 analyses, 287 macros, 0 operations, 0 seed files, 150 sources, 0 exposures, 0 metrics
Concurrency: 8 threads (target='dev')
1 of 3 START table model prod_dbt_intermediate.ea_union_surface_water_flooding . [RUN]
1 of 3 ERROR creating table model prod_dbt_intermediate.ea_union_surface_water_flooding [ERROR in 0.61s]
2 of 3 SKIP relation prod_dbt_final.ea_surface_water_flooding .................. [SKIP]
3 of 3 SKIP relation prod_dbt_final_mbtiles.ea_surface_water_flooding_mbtiles .. [SKIP]
Finished running 3 table models in 0 hours 0 minutes and 2.40 seconds (2.40s).
Completed with 1 error and 0 warnings:
Compilation Error in macro statement (macros/etc/statement.sql)
Object of type TypeError is not JSON serializable

> in macro materialization_table_bigquery (macros/materializations/table.sql)
> called by macro statement (macros/etc/statement.sql)
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/execution/plan/", line 265, in dagster_event_sequence_for_step
    for step_event in check.generator(step_events):
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/execution/plan/", line 382, in core_dagster_event_sequence_for_step
    for user_event in check.generator(
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/execution/plan/", line 94, in _step_output_error_checked_user_event_sequence
    for user_event in user_event_sequence:
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/execution/plan/", line 177, in execute_core_compute
    for step_output in _yield_compute_results(step_context, inputs, compute_fn):
  File "/usr/local/lib/python3.10/site-packages/dagster/_core/execution/plan/", line 145, in _yield_compute_results
    for event in iterate_with_context(
  File "/usr/local/lib/python3.10/site-packages/dagster/_utils/", line 457, in iterate_with_context
    next_output = next(iterator)
  File "/usr/local/lib/python3.10/site-packages/dagster_dbt/", line 420, in _dbt_op
    dbt_output =**kwargs)
  File "/usr/local/lib/python3.10/site-packages/dagster_dbt/cli/", line 145, in run
    return self.cli("run", models=models, exclude=exclude, select=select, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/dagster_dbt/cli/", line 90, in cli
    return execute_cli(
  File "/usr/local/lib/python3.10/site-packages/dagster_dbt/cli/", line 146, in execute_cli
    raise DagsterDbtCliHandledRuntimeError(messages=messages)
:dagster-bot-resolve: 1

Adam Bloom

02/09/2023, 4:44 PM
Running with dbt=1.2.4
are you sure this is a dbt 1.4 issue?


02/09/2023, 7:59 PM
Hi Mitchell,
dbt 1.4.0
is supported in the release going out later today