Closed Bug 1563740 Opened 7 years ago Closed 7 years ago

Modify schema deploy jenkins job for shared-prod and clustering

Categories

(Data Platform and Tools Graveyard :: Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: klukas, Assigned: whd)

Details

Some changes will be needed to the Jenkins job that deploys BQ schema changes to support the changes accepted in the BigQuery Table Layout and Structure Proposal.

Note that there is a dependency here on an upcoming breaking change to table structure where we will be coercing field names to snake case. The relevant issues are:

There is also the change for clustering support in the BQ sink that should be deployed along with this change to the Jenkins job:

The revised Jenkins job should, for each doctype, create or update tables in the following locations:

  • shared-[non]prod:<document_namespace>_live.<document_type>_<document_version>
    • PARTITION BY DATE(submission_timestamp)
    • CLUSTER BY submission_timestamp
    • require_partition_filter=TRUE
  • shared-[non]prod:<document_namespace>_raw.<document_type>_<document_version>
    • PARTITION BY DATE(submission_timestamp)
    • CLUSTER BY sample_id
    • require_partition_filter=TRUE

My assumption is that we would get the snake casing PRs prepped and staged, the Jenkins job prepped, and then drain the BQ sink Dataflow jobs, merge and deploy all the relevant changes, and then redeploy the BQ sink jobs, pointing at the new live namespaces.

For now, only the live tables will be getting populated and they should have no expiration policy set.

Note that I am out next week on PTO. If this can all come together while I'm out, that's great. If my involvement is needed for coordinating deploy, then I hope we can have as much of this in place as possible to be able to deploy early in the week of 7/15.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.