dbeatty10 / dbt-mysql

dbt-mysql contains all of the code enabling dbt to work with MySQL and MariaDB
Apache License 2.0
75 stars 53 forks source link

`TestSnapshotCheckColsMySQL` test is failing #134

Closed dbeatty10 closed 1 year ago

dbeatty10 commented 1 year ago

Describe the bug

One of the functional tests is failing starting in dbt-mysql 1.2.0a1.

Steps To Reproduce

pytest -v --profile mysql tests/functional/adapter/test_basic.py::TestSnapshotCheckColsMySQL::test_snapshot_check_cols
pytest -v --profile mysql5 tests/functional/adapter/test_basic.py::TestSnapshotCheckColsMySQL::test_snapshot_check_cols
pytest -v --profile mariadb tests/functional/adapter/test_basic.py::TestSnapshotCheckColsMySQL::test_snapshot_check_cols

Screenshots and log output

FAILED tests/functional/adapter/test_basic.py::TestSnapshotCheckColsMySQL::test_snapshot_check_cols - AssertionError: dbt exit state did not match expected

Compilation Error in macro snapshot_check_all_get_existing_columns (macros/materializations/snapshot/snapshot.sql)
  macro 'dbt_macro__snapshot_check_all_get_existing_columns' takes not more than 2 argument(s)

  > in macro snapshot_check_strategy (macros/materializations/snapshots/strategies.sql)
  > called by macro materialization_snapshot_mysql (macros/materializations/snapshot/snapshot.sql)
  > called by macro snapshot_check_all_get_existing_columns (macros/materializations/snapshot/snapshot.sql)

Additional context

Skipping this test until it is fixed.