-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
692fbab
commit a7a5a24
Showing
7 changed files
with
298 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ name: pr_tests | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- 'release/**' | ||
|
||
concurrency: dbt_integration_tests | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
integration_tests/models/utils/cross_db/data_indexed_unnest.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{# | ||
Copyright (c) 2021-present Snowplow Analytics Ltd. All rights reserved. | ||
This program is licensed to you under the Snowplow Community License Version 1.0, | ||
and you may not use this file except in compliance with the Snowplow Community License Version 1.0. | ||
You may obtain a copy of the Snowplow Community License Version 1.0 at https://docs.snowplow.io/community-license-1.0 | ||
#} | ||
|
||
{# Everything says int but I've made some of them decimals to test that as well #} | ||
|
||
{{ | ||
config( | ||
materialized = 'table', | ||
) | ||
}} | ||
|
||
with data as ( | ||
|
||
select | ||
test_type, | ||
{{ snowplow_utils.get_split_to_array('result', 'g', ';') }} as test_array | ||
|
||
from {{ ref('expected_get_string_agg')}} g | ||
|
||
where test_type in ('string_def_colon_false_false', 'string_string_colon_false_true', 'int_def_colon_false_true') | ||
) | ||
|
||
select * from data |
Oops, something went wrong.