Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature Request] gem4gov: implement BigQuery import in the standalone datastore import command #122

Description

@JohnHales

Feature Description

gem4gov datastore import --source-type=bigquery is declared but not implemented — it prints "BigQuery import via this command is not yet implemented." (gem4gov.py line 943) and exits. Implement the bigquery branch.

Use Case

BigQuery data-store creation + import is only available through the interactive onboard flow; GCS import works standalone, BigQuery does not. This forces structured-data imports through an interactive path in otherwise scripted workflows. The underlying import_bq_documents() function already exists and is called from onboard — the standalone command just needs to wire to it.

Proposed Solution

Implement the bigquery branch in import_documents_helper with --dataset-id, --table-id, and --id-field options, dispatching to the existing import_bq_documents(), mirroring the GCS branch.

Compliance & Deployment Context

  • Target Deployment Type(s):
    • US Region Restricted (e.g., Access Policy constraint)
    • FedRAMP Medium
    • FedRAMP High
    • DoD IL4
    • DoD IL5
    • All / General
  • Relevant NIST 800-53r5 Controls: N/A.

Reusability Check

Stellar Engine prioritizes reusability.

  • I have checked if this functionality can be achieved by extending an existing module or blueprint. (The function exists; only the CLI dispatch is missing.)
  • I have verified that this does not duplicate existing functionality.

Alternatives Considered

Using the interactive onboard flow (current workaround; not scriptable).

Additional Context

Verified at main @ 3728fc98. Related: #100 (CLI→Terraform conversion).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Level of Effort - MediumModerate task requiring thought and testing; typically takes a couple of days to a weekPriority - MediumStandard features and non-blocking bugs; important for the current milestone but not urgentenhancementNew feature or requestgemini for governmentGemini for Government (G4G) related

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions