Nicola Corda
10/20/2023, 2:41 PMartem-garmash
What it works:
• I'm able to install elementary dbt packages using dbt deps ✅
• I'm able to bootstrap elementary tables/views ✅
• When I run a model tables in my elementary schema are populated ✅
Now, the I have issues when I try to run this
edr report
(installed via
pip install git+<https://github.com/artem-garmash/elementary@athena-support-v3>
I know I know, not ufficially supported yet).
I configured of course my profiles for elementary, manually.
I get this error:
2023-10-20 14:34:32 — INFO — Running with edr=0.11.0
2023-10-20 14:34:37 — ERROR — Unable to get the latest invocation: Failed to run dbt command.
Encountered an error:
Parsing Error
at path ['incremental_strategy']: Undefined is not valid under any of the given schemas
2023-10-20 14:34:47 — ERROR — Failed to parse Elementary's database and schema.
2023-10-20 14:34:47 — INFO — Running 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 /home/vscode/.local/lib/python3.11/site-packages/elementary/monitor/dbt_project --profiles-dir . --target development_staging
2023-10-20 14:34:52 — ERROR — Could not generate the report - Error: Failed to run dbt command.
Encountered an error:
Parsing Error
at path ['incremental_strategy']: Undefined is not valid under any of the given schemas
Please reach out to our community for help with this issue.
it somehow looks for incremental_strategy and I'm wondering where do I have to define it...I'm clueless...Artem Garmash
10/22/2023, 1:20 PMtable_type will be set to iceberg . Without that, it should work using mix of iceberg tables for incremental tables and hive tables for the rest (e.g. temp tables), including edr report and alertsArtem Garmash
10/23/2023, 6:15 AMNicola Corda
10/23/2023, 6:52 AMNicola Corda
10/23/2023, 11:24 AMtable_type will be set to iceberg . Without that, it should work using mix of iceberg tables for incremental tables and hive tables for the rest (e.g. temp tables), including edr report and alerts
regarding this, I'm not setting up any default table_type to iceberg, also because if I do
dbt run --select elementary
Still if I install the CLI from athena-support-v3-ci I have the same issues as describe above, even if doing in a clean env.Nicola Corda
10/23/2023, 2:48 PMItamar Hartstein
10/24/2023, 12:55 PMNicola Corda
10/24/2023, 12:56 PMGeoffrey Stoel
11/20/2023, 11:42 PMNicola Corda
11/22/2023, 7:27 AMArtem Garmash
11/22/2023, 7:43 AMNicola Corda
11/22/2023, 8:21 AMathena-support-v3
instead of
athena-support-v3-ciGeoffrey Stoel
11/22/2023, 8:27 AMNicola Corda
11/22/2023, 8:28 AMGeoffrey Stoel
11/22/2023, 8:30 AMNicola Corda
11/22/2023, 8:31 AMelementary-data 0.13.0 via pypi
• in dbt deps ->
packages:
- package: elementary-data/elementary
version: 0.13.0
for exampleItamar Hartstein
11/24/2023, 9:03 PMNicola Corda
11/30/2023, 8:24 PMItamar Hartstein
12/02/2023, 10:04 PM