Hi Team, I hope you are doing well. I noticed that...
# community-support
p
Hi Team, I hope you are doing well. I noticed that somehow the dbt test descriptions are not getting populated in dbt_tests table of elementary. Not sure if this is a glitch or configuration issue?
👀 1
It seems to be working when the description is defined in config block as below, but it would be good to have if it can pick it directly from description instead of defining like this 🙂
Copy code
- meta : { 'description' : 'Description text....'}
e
Hi there @Paritosh Gupta! Thanks for reaching out! Those descriptions should be picked up, what versions of the
elementary-data/elementary
are you using? What data warehouse?
p
Thanks @Erik Zaadi for getting back to me. I'm currently using Snowflake with Elementary 0.11.0. Also I went through the upload_dbt_test.sql macro and it seems to be picking the description from meta dictionary. I believe that's why it's picking the description when defined as
- meta : { 'description' : 'Description text....'}
Code snippet from upload_dbt_tests.sql :
Copy code
{% set meta_dict = {} %}
    {% if default_description %}
        {% set meta_dict =  {'description': default_description} %} 
    {% endif %}
    {% do meta_dict.update(elementary.safe_get_with_default(node_dict, 'meta', {})) %}
    {% do meta_dict.update(config_meta_dict) %}
Please advise.
e
if you can, please update to
0.12.1
and run
Copy code
dbt deps
dbt run -s elementary --full-refresh
p
When I'm running the
pip install --upgrade elementary-data
, it's upgrading till
0.12.0
I think updating didn't helped here, upload_dbt_tests.sql is still showing the description to be picked from meta dictionary.
e
oh I meant the elementary package specified in
packages.yml
p
yep I tried that as well..