GeezerVison is showing github.com — feat: add `AvroOptions` to configure AVRO external data by tswast · Pull Request #994 · googleapis/python-bigquery
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
Also:
- Unify
ExternalConfig class to use _properties for everything. This does
result in more code, but it should make maintenance easier as it aligns with
our other mutable resource classes.
- Adds
bigtable_options, csv_options, and google_sheets_options
properties. This aligns with parquet_options.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- Ensure the tests and linter pass
- Code coverage does not decrease (if any source code was changed)
- Appropriate docs were updated (if necessary)
In response to internal request. 🦕
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Also:
* Unify `ExternalConfig` class to use `_properties` for everything. This does
result in more code, but it should make maintenance easier as it aligns with
our other mutable resource classes.
* Adds `bigtable_options`, `csv_options`, and `google_sheets_options`
properties. This aligns with `parquet_options`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing much to add, except for the type hint duplication nit.
A few lines are missing from the coverage, please just address that.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. You can address a nit if you want.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+897
to
898
|
|
"""Additional properties to set if ``sourceFormat`` is set to
|
|
|
GOOGLE_SHEETS.
|
plamut
Sep 30, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(nit) Does this fit into a single line? (IIRC the summary in the docs only grabs the first line)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not within 79 characters, which is what I've got VS Code configured to wrap at.
Looks like Sphinx did the right thing. Probably because there's no blank line.

Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that surprised me, but even better then!
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
abdelmegahedgoogle
pushed a commit
to abdelmegahedgoogle/python-bigquery
that referenced
this pull request
Apr 17, 2023
* feat: add `AvroOptions` to configure AVRO external data
Also:
* Unify `ExternalConfig` class to use `_properties` for everything. This does
result in more code, but it should make maintenance easier as it aligns with
our other mutable resource classes.
* Adds `bigtable_options`, `csv_options`, and `google_sheets_options`
properties. This aligns with `parquet_options`.
* remove unnecessary check for options in to_api_repr
* add missing tests for to_api_repr
* remove redundant type identifiers
Reviewers
1 more reviewer
plamut
plamut approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: bigquery
Issues related to the googleapis/python-bigquery API.
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|