George Myrianthous
02/18/2025, 9:12 AM0.16.2, elementary.on-run-end hook seems to be taking ages (from a few seconds this now requires ~10-15 minutes!). Any clue how to solve this issue?Mika Kerman
02/18/2025, 9:51 AMGeorge Myrianthous
02/18/2025, 9:51 AMGeorge Myrianthous
02/18/2025, 9:52 AMMika Kerman
02/18/2025, 9:58 AM0.16.2 the version of the dbt package or the Python package? The latest version of the dbt package is 0.16.4, and the latest version of the Python package is 0.16.2.George Myrianthous
02/18/2025, 9:59 AM0.16.2 for both python and dbt packagesMika Kerman
02/18/2025, 10:01 AMGeorge Myrianthous
02/18/2025, 10:01 AMMika Kerman
02/18/2025, 10:29 AMGeorge Myrianthous
02/18/2025, 10:37 AMGeorge Myrianthous
02/18/2025, 10:39 AM[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] IMPORTANT - Starting from dbt 1.8, users must explicitly allow packages to override materializations.
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] Elementary requires this ability to support collection of samples and failed row count for dbt tests.
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] Please add the following flag to dbt_project.yml to allow it:
2025-02-18T08:46:42.921980853Z
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] flags:
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] require_explicit_package_overrides_for_builtin_materializations: false
2025-02-18T08:46:42.922008940Z
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] Notes -
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] * This is a temporary measure that will result in a deprecation warning, please ignore it for now. Elementary is working with the dbt-core team on a more permanent solution.
[2025-02-18, 08:46:42 UTC] {pod_manager.py:471} INFO - [base] * This message can be muted by setting the 'mute_ensure_materialization_override' var to true.
2025-02-18T08:46:42.922075379Z
2025-02-18, 08:46:43 UTC] {pod_manager.py:471} INFO - [base] 08:46:42 1 of 1 START hook: elementary.on-run-start.0 ................................... [RUN]
[2025-02-18, 08:46:43 UTC] {pod_manager.py:471} INFO - [base] 08:46:42 1 of 1 OK hook: elementary.on-run-start.0 ...................................... [OK in 0.29s]
[2025-02-18, 08:46:43 UTC] {pod_manager.py:471} INFO - [base] 08:46:43
[2025-02-18, 08:46:48 UTC] {pod_manager.py:471} INFO - [base] 08:46:43 1 of 1 START sql table model dbt_prod_marts.my_dbt_model [RUN]
[2025-02-18, 08:46:48 UTC] {pod_manager.py:471} INFO - [base] 08:46:48 1 of 1 OK created sql table model dbt_prod_marts.my_dbt_model [CREATE TABLE (20.0 rows, 2.0 GiB processed) in 5.43s]
[2025-02-18, 08:51:48 UTC] {pod_manager.py:489} INFO - [base] 08:46:48
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29 1 of 1 START hook: elementary.on-run-end.0 ..................................... [RUN]
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29 1 of 1 OK hook: elementary.on-run-end.0 ........................................ [OK in 1541.41s]
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29 Finished running 2 project hooks, 1 table model in 0 hours 25 minutes and 49.16 seconds (1549.16s).
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29 Completed successfully
[2025-02-18, 09:12:29 UTC] {pod_manager.py:471} INFO - [base] 09:12:29
[2025-02-18, 09:12:32 UTC] {pod_manager.py:489} INFO - [base] 09:12:29 Done. PASS=3 WARN=0 ERROR=0 SKIP=0 TOTAL=3George Myrianthous
02/18/2025, 10:44 AMAbhishesh Sharma
02/19/2025, 4:29 AMGeorge Myrianthous
02/19/2025, 9:20 AMGeorge Myrianthous
02/19/2025, 9:21 AMNoya Offer
02/19/2025, 9:30 AMNoya Offer
02/19/2025, 9:41 AMGeorge Myrianthous
02/19/2025, 9:43 AMNoya Offer
02/19/2025, 9:50 AMGeorge Myrianthous
02/19/2025, 10:43 AMFredrik Örn
03/24/2025, 10:28 AMNoya Offer
03/24/2025, 2:36 PMdbt_columns, which can impact on-run-end performance. Since this table isn't used in the Elementary UI, the best approach is to disable it by adding this to your `dbt_project.yml`:
vars:
columns_upload_strategy: none
This should help speed things up. Let me know if it works or if you need anything else!Fredrik Örn
03/24/2025, 2:52 PMNoya Offer
03/24/2025, 2:54 PMdbt_columns table in the Elementary schema.