You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When elementary.tests_schema_name var is set schema_changes_from_baseline test result tables are created in main elementary schema, but other test results (e.g. schema_changes) are created in another schema defined by <main elementary schema> + <elementary.tests_schema_name>
Expected behavior schema_changes_from_baseline test result tables are created in schema defined by elementary.tests_schema_name
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Elementary CLI (edr) version: [e.g. 0.5.3], can be found by running pip show elementary-data
Elementary dbt package version: [e.g. 0.4.1], can be found in packages.yml file
dbt version you're using [e.g. 1.8.1]
Data warehouse [e.g. snowflake]
Infrastructure details (e.g. operating system, prod / dev / staging, deployment infra, CI system, etc)
Additional context
test schema_changes_from_baseline sets tests_schema_name variable, but just doesn't use it anywhere
Would you be willing to contribute a fix for this issue?
May be
The text was updated successfully, but these errors were encountered:
Hi @kokorin, thanks a lot for bringing this to our attention!
I opened a small PR that solves this issue.
May I ask, do you use the tests_schema_name var to store the Elementary tests' results outside of the Elementary schema?
Thank you @elongl
I just experimented with that property. Sometimes our DBT runs are interrupted (by timeout) and test result tables are left intact in Elementary schema, so my idea was to use that variable to put test results tables into separate schema and schedule schema drop when DBT run completes.
Describe the bug
When
elementary.tests_schema_name
var is setschema_changes_from_baseline
test result tables are created in main elementary schema, but other test results (e.g.schema_changes
) are created in another schema defined by<main elementary schema> + <elementary.tests_schema_name>
Expected behavior
schema_changes_from_baseline
test result tables are created in schema defined byelementary.tests_schema_name
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
pip show elementary-data
packages.yml
fileAdditional context
test schema_changes_from_baseline sets
tests_schema_name
variable, but just doesn't use it anywhereWould you be willing to contribute a fix for this issue?
May be
The text was updated successfully, but these errors were encountered: