Owen Agitza Jaya
05/07/2025, 7:38 AMerror instead of fail
-- I deleted data_dump.pivot_test before I run dbt test
-- Below is the result
Database Error in test elementary_source_schema_changes_data_dump_pivot_test_ (sources\sources.yml)
syntax error at or near ")"
LINE 41: ) rt
I also attach a response regarding this by Elementary AI in the thread.Owen Agitza Jaya
05/07/2025, 7:38 AMNoya Offer
05/15/2025, 8:25 AMdbt.log and the compiled code of the test.
Thanks!Owen Agitza Jaya
05/20/2025, 6:51 AMdata_dump.test_table
• I ran the command dbt test -s source:data_dump to initialize the schema test (schema test PASS)
• I deleted the data_dump.test_table and ran the same command dbt test -s source:data_dump to check if the schema test gives me warning
• The command gave error instead
• I attached the log below, please tell me if you need the complete log
Sources.yml
sources:
- name: data_dump
database: "{{ env_var('DWH_DB') }}"
schema: data_dump
tables:
- name: test_table
tests:
- elementary.schema_changes
cc: @Leonard Liauw