Skip to content

ingest: support Excel tables with new columns #272

@joverlee521

Description

@joverlee521

Currently, the Excel tables are converted to NDJSON and concatenated to the existing cache. If an Excel table has a new columns, then the curate rule will fail because augur curate has a built-in validation to check all records have the same fields. I knew this could be an issue when initially setting up the ingest workflow, but I thought the GISAID metadata Excel table has been very stable over the last couple years and didn't add any guardrails. However, this came up when I was testing a new download that includes the new Publishing_Embargo_Until column.

TODOs

  • check if concatenated NDJSONs have matching fields
  • emit loud error to fix before cache gets uploaded
  • add mechanism to rename/add fields to cache to match new Excel tables

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions