Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed OrcaVault hub models incremental differential except query #27

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_contact.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select contact_id from cleaned
{% if is_incremental() %}
except
select contact_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_experiment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ cleaned as (
differentiated as (

select experiment_id from cleaned
{% if is_incremental() %}
except
select experiment_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_external_sample.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select external_sample_id from cleaned
{% if is_incremental() %}
except
select external_sample_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_external_subject.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select external_subject_id from cleaned
{% if is_incremental() %}
except
select external_subject_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_internal_subject.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select internal_subject_id from cleaned
{% if is_incremental() %}
except
select internal_subject_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_library.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select library_id from cleaned
{% if is_incremental() %}
except
select library_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_project.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select project_id from cleaned
{% if is_incremental() %}
except
select project_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_sample.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ cleaned as (
differentiated as (

select sample_id from cleaned
{% if is_incremental() %}
except
select sample_id from {{ this }}
{% endif %}

),

Expand Down
2 changes: 2 additions & 0 deletions orcavault/models/raw/hub_sequencing_run.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ cleaned as (
differentiated as (

select sequencing_run_id from cleaned
{% if is_incremental() %}
except
select sequencing_run_id from {{ this }}
{% endif %}

),

Expand Down