dagster-io / fake-star-detector

https://github.com/dagster-io/dagster
234 stars 19 forks source link

complex_model error #12

Open redeux opened 1 year ago

redeux commented 1 year ago

When I attempt to run the complex model I receive the following error:

dagster_dbt.errors.DagsterDbtCliFatalRuntimeError: Fatal error in the dbt CLI (return code 2): Running with dbt=1.6.1 Registered adapter: bigquery=1.6.4 [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:
- models.dbt_project.example Found 7 models, 0 sources, 0 exposures, 0 metrics, 390 macros, 0 groups, 0 semantic models   Finished running  in 0 hours 0 minutes and 0.01 seconds (0.01s). Encountered an error:
Database Error
  Expecting property name enclosed in double quotes: line 2 column 3 (char 4)

Parsed CLI Messages
Running with dbt=1.6.1
Registered adapter: bigquery=1.6.4
[WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.
There are 1 unused configuration paths:
- models.dbt_project.example
Found 7 models, 0 sources, 0 exposures, 0 metrics, 390 macros, 0 groups, 0 semantic models

Finished running in 0 hours 0 minutes and 0.01 seconds (0.01s).
Encountered an error:
Database Error
Expecting property name enclosed in double quotes: line 2 column 3 (char 4)
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/execute_plan.py", line 273, in dagster_event_sequence_for_step
    for step_event in check.generator(step_events):
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/execute_step.py", line 481, in core_dagster_event_sequence_for_step
    for user_event in _step_output_error_checked_user_event_sequence(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/execute_step.py", line 164, in _step_output_error_checked_user_event_sequence
    for user_event in user_event_sequence:
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/execute_step.py", line 95, in _process_asset_results_to_events
    for user_event in user_event_sequence:
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/compute.py", line 203, in execute_core_compute
    for step_output in _yield_compute_results(step_context, inputs, compute_fn):
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_core/execution/plan/compute.py", line 172, in _yield_compute_results
    for event in iterate_with_context(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster/_utils/__init__.py", line 446, in iterate_with_context
    next_output = next(iterator)
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster_dbt/asset_defs.py", line 353, in _dbt_op
    yield from _stream_event_iterator(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster_dbt/asset_defs.py", line 255, in _stream_event_iterator
    for parsed_json_line in dbt_resource.cli_stream_json(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster_dbt/core/resources.py", line 227, in cli_stream_json
    for event in execute_cli_stream(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster_dbt/core/utils.py", line 187, in execute_cli_stream
    for event in _core_execute_cli(
  File "/fake-star-detector/venv/lib64/python3.9/site-packages/dagster_dbt/core/utils.py", line 157, in _core_execute_cli
    raise DagsterDbtCliFatalRuntimeError(messages=messages)