Josh McCarter
01/30/2024, 3:00 PM10:03:48 1 of 2 START hook: dwh.on-run-end.0 ............................................ [RUN]
10:03:48 1 of 2 OK hook: dwh.on-run-end.0 ............................................... [OK in 0.00s]
10:10:07 Database error while running on-run-end
10:10:07
10:10:07 Finished running 1 seed, 2 hooks in 0 hours 6 minutes and 25.80 seconds (385.80s).
10:10:09
10:10:09 Completed with 1 error and 0 warnings:
10:10:09
10:10:09 on-run-end failed, error:
001795 (42601): SQL compilation error: error line 2 at position 25
maximum number of expressions in a list exceeded, expected at most 16,384, got 20,842Josh McCarter
01/30/2024, 5:35 PMJosh McCarter
02/05/2024, 10:11 AMJosh McCarter
02/05/2024, 10:12 AMOfek Weiss
02/05/2024, 12:45 PMJosh McCarter
02/14/2024, 10:46 AM[0m16:14:32 Running 2 on-run-end hooks
[0m16:14:32 apply_meta_as_tags
[0m16:14:39 1 of 2 START hook: dwh.on-run-end.0 ............................................ [RUN]
[0m16:14:39 1 of 2 OK hook: dwh.on-run-end.0 ............................................... [[32mOK[0m in 0.00s]
[0m20:22:28 Database error while running on-run-end
[0m20:22:28
[0m20:22:28 Finished running 8215 tests, 2 hooks in 4 hours 43 minutes and 40.61 seconds (17020.61s).
[0m20:22:32
[0m20:22:32 [31mCompleted with 1 error and 9 warnings:[0m
[0m20:22:32
[0m20:22:32 on-run-end failed, error:
390114 (08001): Authentication token has expired. The user must authenticate again.Ofek Weiss
02/14/2024, 12:50 PM16,384 (as this seems to be the limit of snowflake)Josh McCarter
02/15/2024, 4:07 PM[0m14:39:42.941697 [debug] [MainThread]: Elementary: Inserting 10223 rows to table "DWH_PREPROD_DEC375"."ELEMENTARY"."ELEMENTARY_TEST_RESULTS"
vars:
data_lake_db: data_lake
snowflake_db: snowflake
warehouse: default
test: false
incremental_test: false
surrogate_key_treat_nulls_as_empty_strings: true
use_common_masking_policy_schema_only: "True"
common_masking_policy_schema: "SHARED"
custom_materializations_map: '{ "sf_incremental": "table" }'
common_tag_database: "{{ 'COMPLIANCE' if target.name == 'prod' else 'COMPLIANCE_PREPROD' }}"
common_tag_schema: "TAGS"
insert_rows_method: chunk
dbt_artifacts_chunk_size: 5000
Based on your knowledge would this be something elementary should find easy or is there allot involved behind the scenes? (Because it's taking a very long time).
In our prod env it's all running totally fine - but this is more something that can come up in our pipline - if there was a way to get the post hook not to run when calling the tests (in the pipeline) it would be ideal but I dont think thats a thing minus modifying the dbt_project.yml on the fly.Ofek Weiss
03/20/2024, 9:26 AMdbt_artifacts_chunk_size variable, this is resolved in version 0.14.1 of the dbt packageJosh McCarter
03/28/2024, 10:22 AM15:15:53 60 of 60 PASS unique_int_tealium_audience_latest_unique_key .................... [PASS in 48.76s]
15:15:53
15:15:53 Running 2 on-run-end hooks
15:15:53 apply_meta_as_tags
15:15:53 1 of 2 START hook: dwh.on-run-end.0 ............................................ [RUN]
15:15:53 1 of 2 OK hook: dwh.on-run-end.0 ............................................... [OK in 0.00s]
15:18:54 2 of 2 START hook: elementary.on-run-end.0 ..................................... [RUN]
15:18:54 2 of 2 OK hook: elementary.on-run-end.0 ........................................ [OK in 0.00s]Josh McCarter
04/08/2024, 8:02 AM