Hey, the `_tmp` tables of elementary seem to have ...
# community-support
h
Hey, the
_tmp
tables of elementary seem to have been saved for more than six months back, which makes the describe tables action very long. is there a way to define retention or to delete them periodically?
i
Hi @Hen Ben-Hemo, thanks for reaching out! I am working on a fix for that as we speak šŸ™‚ Can I ask if you disabled our on run ends by any chance? It will help me understand the issue better!
šŸ‘€ 1
h
Hey @Idan Shavit no, I did not disabled your on run-end
i
Interesting šŸ¤” Care to share with me your dbt.log?
Can I ask if all this temp tables are old one? Do you see ant temp tables from you recent runs?
h
checking …
@Idan Shavit I have a temp table from recent runs also
image.png
I’m using your latest version
i
@Hen Ben-Hemo thank you for all the info šŸ™ Which DWH are you using?
h
Databricks
Hey @Idan Shavit do you have any update?
@Idan Shavit @Maayan Salom
m
I’m also interested in getting these tmp tables dropped. We are disabling on-run-end hooks in dev. I also posted in this today in support, but oddly I can only delete these tables if I wrap the names in quotes.
Copy code
disable_tests_results: | # Override elementary default vars when running non-prod
      {%- if target.name == 'prod' and flags.WHICH not in ['generate'] -%} false
      {%- else -%} true
      {%- endif -%}
  disable_run_results: | # Override elementary default vars when running non-prod
      {%- if target.name == 'prod' and flags.WHICH not in ['generate'] -%} false
      {%- else -%} true
      {%- endif -%}
  disable_dbt_artifacts_autoupload: | # Override elementary default vars when running non-prod
      {%- if target.name == 'prod' and flags.WHICH not in ['generate'] -%} false
      {%- else -%} true
      {%- endif -%}
  disable_dbt_invocation_autoupload: | # Override elementary default vars when running non-prod
      {%- if target.name == 'prod' and flags.WHICH not in ['generate'] -%} false
      {%- else -%} true
      {%- endif -%}