Itamar Hartstein
05/12/2024, 2:33 PMflags:
require_explicit_package_overrides_for_builtin_materializations: false
Details:
Starting from dbt 1.8, dbt requires an explicit configuration from users to allow packages to override materializations (more details here).
Elementary utilizes this ability to provide additional features to test reporting - specifically the ability to collect failed row samples and the number of failed rows within each test.
Please follow the instructions above to ensure Elementary functionality keeps working correctly for you.
Notes:
• Please upgrade Elementary regardless of whether or not you're using the above features, to ensure other functionality won't break.
• Note that setting the flag above will cause a deprecation warning to show - this is a temporary situation and we're working with the dbt team on a longer term solution, but otherwise you can safely ignore this warning for now. This warning may also appear if you upgraded to the latest 1.6.x/1.7.x version and likewise you can safely ignore it for now.Hanalytics - Team Data
05/13/2024, 10:58 AMParis Affinaquest
05/23/2024, 11:36 PMedr report --env prod I get this stack trace
2024-05-23 23:36:34 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Please reach out to our community for help with this issue.
Traceback (most recent call last):
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/clients/dbt/dbt_runner.py", line 88, in _run_command
result = subprocess.run(
File "/usr/local/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['dbt', '--log-format', 'json', 'run-operation', 'elementary.log_macro_results', '--args', '{"macro_name": "elementary_cli.get_test_results", "macro_args": {"days_back": 7, "invocations_per_test": 720, "disable_passed_test_metrics": false}}', '--project-dir', '/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/monitor/dbt_project']' died with <Signals.SIGKILL: 9>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/monitor/api/report/report.py", line 50, in get_report_data
tests_api = TestsAPI(
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 43, in __init__
self.test_results_db_rows = self._get_test_results_db_rows(
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/monitor/api/tests/tests.py", line 55, in _get_test_results_db_rows
return self.tests_fetcher.get_all_test_results_db_rows(
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/monitor/fetchers/tests/tests.py", line 25, in get_all_test_results_db_rows
run_operation_response = self.dbt_runner.run_operation(
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/clients/dbt/dbt_runner.py", line 160, in run_operation
success, command_output = self._run_command(
File "/workspaces/ci-dbt/.venv/lib/python3.10/site-packages/elementary/clients/dbt/dbt_runner.py", line 99, in _run_command
raise DbtCommandError(err, command_args, logs=logs)
elementary.exceptions.exceptions.DbtCommandError: Failed to run dbt command.
make: *** [/workspaces/ci-dbt/tools/makefiles/dbt.mk:134: edr-report-prod] Error 1
ci-dbt(ci-dbt) vscode ➜ /workspaces/ci-dbt (master) $Paris Affinaquest
05/23/2024, 11:37 PMParis Affinaquest
05/23/2024, 11:37 PMPlease reach out to our community for help with this issue.Paris Affinaquest
05/23/2024, 11:38 PMflags:
require_explicit_package_overrides_for_builtin_materializations: falseLuis Oliveira
05/24/2024, 2:19 PMKelvin
05/28/2024, 3:24 AM