Skip to content

Some errors are not handled correctly #2

@ricardojvsoares

Description

@ricardojvsoares

Running the migration with nodeart-bq-cli migrate fails because the provided schema does not match the existing table schema in BigQuery. Specifically, the migration tries to add a required field to the existing table, which BigQuery does not allow.

Expected behavior
The migration should either:

  • Add the field as nullable (if that's the intended behavior), or
  • Provide a clear migration strategy for required fields (e.g., create a new table or allow default values).

Actual behavior
Migration fails with an INVALID_ARGUMENT error because BigQuery does not allow adding required fields to an existing table schema.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions