-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
14 changed files
with
289 additions
and
32 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
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
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
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
12 changes: 12 additions & 0 deletions
12
test/integration/068_partial_parsing_tests/extra-files/model_three_disabled.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,12 @@ | ||
{{ config(materialized='table', enabled=False) }} | ||
|
||
with source_data as ( | ||
|
||
select 1 as id | ||
union all | ||
select null as id | ||
|
||
) | ||
|
||
select * | ||
from source_data |
13 changes: 13 additions & 0 deletions
13
test/integration/068_partial_parsing_tests/extra-files/model_three_disabled2.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,13 @@ | ||
- Disabled model | ||
{{ config(materialized='table', enabled=False) }} | ||
|
||
with source_data as ( | ||
|
||
select 1 as id | ||
union all | ||
select null as id | ||
|
||
) | ||
|
||
select * | ||
from source_data |
14 changes: 14 additions & 0 deletions
14
test/integration/068_partial_parsing_tests/extra-files/model_three_modified.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,14 @@ | ||
{{ config(materialized='table') }} | ||
|
||
with source_data as ( | ||
|
||
{#- This is model three #} | ||
|
||
select 1 as id | ||
union all | ||
select null as id | ||
|
||
) | ||
|
||
select * | ||
from source_data |
15 changes: 15 additions & 0 deletions
15
test/integration/068_partial_parsing_tests/extra-files/snapshot.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,15 @@ | ||
{% snapshot orders_snapshot %} | ||
|
||
{{ | ||
config( | ||
target_schema=schema, | ||
strategy='check', | ||
unique_key='id', | ||
check_cols=['status'], | ||
) | ||
}} | ||
|
||
select * from {{ ref('orders') }} | ||
|
||
{% endsnapshot %} | ||
|
14 changes: 14 additions & 0 deletions
14
test/integration/068_partial_parsing_tests/extra-files/snapshot2.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,14 @@ | ||
{% snapshot orders_snapshot %} | ||
|
||
{{ | ||
config( | ||
target_schema=schema, | ||
strategy='check', | ||
unique_key='id', | ||
check_cols=['status'], | ||
) | ||
}} | ||
select * from {{ ref('orders') }} | ||
|
||
{% endsnapshot %} | ||
|
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 @@ | ||
select 1 as id, 101 as user_id, 'pending' as status |
File renamed without changes.
Oops, something went wrong.