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

Fix up FQ and race condition issues with volatile tasks work [VS-478] #7888

Merged
merged 6 commits into from
Jun 10, 2022

Conversation

mcovarr
Copy link
Collaborator

@mcovarr mcovarr commented Jun 9, 2022

@@ -11,6 +11,8 @@ workflow GvsCreateAltAllele {
String? service_account_json_path
}

String fq_alt_allele_table = "~{dataset_name}.alt_allele"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want project name in this too to keep it consistent?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup, that turns out to be a required fix.

@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

❗ No coverage uploaded for pull request base (ah_var_store@0be4453). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             ah_var_store     #7888   +/-   ##
================================================
  Coverage                ?   86.291%           
  Complexity              ?     35196           
================================================
  Files                   ?      2170           
  Lines                   ?    164888           
  Branches                ?     17785           
================================================
  Hits                    ?    142284           
  Misses                  ?     16280           
  Partials                ?      6324           

@mcovarr mcovarr changed the title Fix up errant non-FQ invocations of GetBQTableLastModifiedDatetime [VS-447] Fix up FQ and race condition issues with volatile tasks work [VS-478] Jun 9, 2022
@@ -11,6 +11,8 @@ workflow GvsCreateAltAllele {
String? service_account_json_path
}

String fq_alt_allele_table = "~{project_id}.~{dataset_name}.alt_allele"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug 1: alt allele table must be fully qualified

@@ -110,7 +110,7 @@ workflow GvsExtractCallset {
call Utils.GetBQTableLastModifiedDatetime as FilterSetInfoTimestamp {
input:
query_project = project_id,
fq_table = "filter_set_info",
fq_table = "~{fq_gvs_dataset}.filter_set_info",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug 3: same as bug 1, BQ table name must be fully qualified here.

@@ -27,8 +29,9 @@ workflow GvsCreateAltAllele {

call Utils.GetBQTableLastModifiedDatetime {
input:
go = CreateAltAlleleTable.done,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug 2: getting the last modified datetime of the alt allele table should run only after the alt allele table has been created

@mcovarr mcovarr marked this pull request as ready for review June 10, 2022 18:10
Copy link

@rsasch rsasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mcovarr mcovarr merged commit 727c1da into ah_var_store Jun 10, 2022
@mcovarr mcovarr deleted the vs_447_fixup_non_fq_invocations branch June 10, 2022 19:47
This was referenced Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants