Hello! I'm trying to configure Elementary for alre...
# community-support
j
Hello! I'm trying to configure Elementary for already existing DBT project. After installing DBT package and running it, I was able to create elementary dataset with it's all artifacts (hooks are working as well when I run DBT). But when I try to generate the report
edr report
, I get an error message when elementary tries to parse snapshots. If I remove
models_api.get_snapshots()
from
/elementary/monitor/api/report/report.py
, the report is generated without any issue. I don't have any snapshots in my DBT project. Can someone help me with this issue? Also, somehow
edr report
uses profiles.yml file from
home/.dbt
folder, even though I have profiles.yml in my working directory. It picks up the correct one if I specify
edr report  --profiles-dir ./
Thank you!
Copy code
DBT version:
Core: 1.9.2
Bigquery Plugin: 1.9.1

Elementary version 0.16.2.
m
Hi @Jumanazar Gurbanov! Have you had a chance to run the following command?
dbt run --select elementary
You can follow the step-by-step installation guide. Let me know if it helps!
j
Yes, I did run the above command and I have all tables and views in the elementary schema. I have issues only when I try to run
edr report
It fails because of this macro: https://github.com/elementary-data/elementary/blob/master/elementary/monitor/dbt_project/macros/get_snapshots.sql.
unique_key
and
incremental_strategy
fields are not present in the
elementary.dbt_snapshots
table
The issue is in the version
0.16.2
, I downgraded to the
0.16.1
and everything works fine
m
The updated version includes a recently added column. Could you please give the command 'dbt run --select elementary' another quick try?
j
Keeping the version
0.16.1
?
m
upgrade to the new version, and run the command
j
sure
Issue is persisting
Also, I manage my python packages with uv pip, I didn't install elementary from your github repo
n
Hey @Jumanazar Gurbanov, did you try running Elementary 0.16.2 with dbt package 0.16.2 or higher? Rerun
dbt run --select elementary
if these two versions don't work together. This should work!
j
I did update the dbt package and cli both to 0.16.2 and everything works as expected 🎉 thank you!
🙌 2
drop corrupt happy 1