Skip to content

Conversation

chalmerlowe
Copy link
Collaborator

This commit introduces new configuration options for BigQuery load jobs and external table definitions, aligning with recent updates to the underlying protos.

New options added:

time_format: format used for parsing TIME values. (Applies to LoadJobConfig, LoadJob, and ExternalConfig)
timestamp_format: format used for parsing TIMESTAMP values. (Applies to LoadJobConfig, LoadJob, and ExternalConfig)

Changes include:

Added corresponding properties (getters/setters) to LoadJobConfig, LoadJob, and ExternalConfig.
Updated docstrings and type hints for all new attributes.
Updated unit tests to cover the new options, ensuring they are correctly handled during object initialization, serialization to API representation, and deserialization from API responses.

@chalmerlowe chalmerlowe requested review from a team as code owners July 14, 2025 13:45
@chalmerlowe chalmerlowe requested a review from Neenu1995 July 14, 2025 13:45
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery API. labels Jul 14, 2025
@chalmerlowe chalmerlowe requested review from Linchin and removed request for Neenu1995 July 14, 2025 13:45
@chalmerlowe chalmerlowe merged commit 371ad29 into main Jul 14, 2025
28 checks passed
@chalmerlowe chalmerlowe deleted the feat-374142081-add-time-and-timestamp-formats branch July 14, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants