- Notifications
You must be signed in to change notification settings - Fork321
chore: sync v3 branch with main#947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
69 commits Select commitHold shift + click to select a range
3b70891 chore: protect v3.x.x branch (#816)
tswast3c1be14 fix: no longer raise a warning in `to_dataframe` if `max_results` set…
plamutfe7a902 feat: Update proto definitions for bigquery/v2 to support new proto f…
gcf-owl-bot[bot]02bbdae chore: release 2.23.0 (#819)
release-please[bot]42b66d3 chore(deps): update dependency google-cloud-bigquery to v2.23.0 (#820)
renovate-botd9378af fix: `insert_rows()` accepts float column values as strings again (#824)
plamuta505440 chore: release 2.23.1 (#825)
release-please[bot]c541c69 chore: add second protection rule for v3 branch (#828)
tswast48e8a35 chore(deps): update dependency google-cloud-bigquery to v2.23.1 (#827)
renovate-botd8c25ac test: retry getting rows after streaming them in `test_insert_rows_fr…
tswast8149d9e chore(deps): update dependency pyarrow to v5 (#834)
renovate-botb9349ad chore(deps): update dependency google-cloud-bigquery-storage to v2.6.…
renovate-bot80e3a61 deps: expand pyarrow pins to support 5.x releases (#833)
plamut40ef77f chore: release 2.23.2 (#835)
release-please[bot]55687b8 chore(deps): update dependency google-auth-oauthlib to v0.4.5 (#839)
renovate-bot85ce81c chore(deps): update dependency google-cloud-bigquery to v2.23.2 (#838)
renovate-bot20df24b chore(deps): update dependency google-cloud-testutils to v1 (#845)
renovate-bot7016f69 chore: require CODEOWNER review and up to date branches (#846)
busunkim96cf0b0d8 chore: add api-bigquery as a samples owner (#852)
busunkim9630770fd fix: increase default retry deadline to 10 minutes (#859)
tswaste2cbcaa process: add yoshi-python to samples CODEOWNERS (#858)
plamut9694a4d chore: release 2.23.3 (#860)
release-please[bot]9c6614f chore(deps): update dependency google-cloud-bigquery to v2.23.3 (#866)
renovate-bot7f7b1a8 feat: add support for transaction statistics (#849)
plamut443b8ab chore(deps): update dependency google-cloud-bigquery-storage to v2.6.…
renovate-botaee814c chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (#869)
gcf-owl-bot[bot]c1a3d44 feat: make the same `Table*` instances equal to each other (#867)
plamut93d15e2 feat: support `ScalarQueryParameterType` for `type_` argument in `Sca…
tswast519d99c feat: retry failed query jobs in `result()` (#837)
ad9c802 fix: make unicode characters working well in load_table_from_json (#865)
grimmerkcf6f0e9 chore: release 2.24.0 (#868)
release-please[bot]c44d45b chore(deps): update dependency google-cloud-bigquery to v2.24.0 (#873)
renovate-bote3704c3 test: refactor `list_rows` tests and add test for scalars (#829)
tswastcd21df1 chore: drop mention of Python 2.7 from templates (#877)
gcf-owl-bot[bot]2cb3563 fix: remove pytz dependency and require pyarrow>=3.0.0 (#875)
busunkim96936660b chore: release 2.24.1 (#879)
release-please[bot]5c5b4b8 chore(deps): update dependency google-cloud-bigquery to v2.24.1 (#887)
renovate-bot16f65e6 feat: Support using GeoPandas for GEOGRAPHY columns (#848)
aa4876e test: Add test of datetime and time pandas load (#895)
f319d25 chore: release 2.25.0 (#898)
release-please[bot]fbbf72c chore(deps): update dependency numpy to v1.21.2 (#899)
renovate-bot72a52f0 chore(deps): update dependency google-cloud-core to v2 (#904)
renovate-bot1cb3e55 fix: use REST API in cell magic when requested (#892)
plamutb508809 fix: populate default `timeout` and retry after client-side timeout (…
tswast4fc7c69 chore(deps): update dependency google-cloud-bigquery to v2.25.0 (#907)
renovate-bot121c2c2 chore(deps): update dependency pandas to v1.3.2 (#900)
renovate-bota3a85da chore: group all renovate PRs together (#911)
tswast109a536 chore: release 2.25.1 (#912)
release-please[bot]e2d12b7 docs: update docstring for bigquery_create_routine sample (#883) (#917)
plamut679e8ed chore: migrate default branch to main (#910)
plamut4f229cb chore: invalid docstrings broke docfx (#924)
8448922 chore(deps): update all dependencies (#914)
renovate-bot656d2fa fix: error inserting DataFrame with REPEATED field (#925)
plamutbd417d3 chore(deps): update all dependencies (#926)
renovate-botfcb0bc6 fix: underscores weren't allowed in struct field names when passing p…
936686b chore: release 2.25.2 (#916)
release-please[bot]10fee52 chore(deps): update all dependencies (#928)
renovate-botb289076 fix: guard imports against unsupported pyarrow versions (#934)
tswastba02f24 feat: set the X-Server-Timeout header when timeout is set (#927)
db57c1c chore: release 2.26.0 (#937)
release-please[bot]65cb29d chore(deps): update dependency google-cloud-bigquery to v2.26.0 (#938)
renovate-bot1c2bd01 chore: update system tests and samples to use and @google.com email a…
c29c723 chore(python): rename default branch to main (#935)
gcf-owl-bot[bot]503d360 chore: Reduce duplicated code betweem tests/unit and tests/unit/job (…
e3b26d8 test: fix routine DDL sample test exits too early (#932)
plamutc9068e4 chore(deps): update all dependencies (#939)
renovate-boteb1d8c4 Merge branch 'main' into sync-with-main
plamutab7b2c0 Remove unneeded file
plamut4e3cc04 Remove unneeded legacy pyarrow import in noxfile
plamutFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletion.github/.OwlBot.lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| docker: | ||
| image: gcr.io/repo-automation-bots/owlbot-python:latest | ||
| digest: sha256:0ffe3bdd6c7159692df5f7744da74e5ef19966288a6bf76023e8e04e0c424d7d |
8 changes: 4 additions & 4 deletions.github/sync-repo-settings.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion.kokoro/build.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion.kokoro/test-samples-impl.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletionsCHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletionsCONTRIBUTING.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletionsdocs/conf.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletionsdocs/usage/pandas.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletionsgoogle/cloud/bigquery/_helpers.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -74,7 +74,31 @@ def is_read_session_optional(self) -> bool: | ||
| return self.installed_version >= _BQ_STORAGE_OPTIONAL_READ_SESSION_VERSION | ||
| class PyarrowVersions: | ||
plamut marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| """Version comparisons for pyarrow package.""" | ||
| def __init__(self): | ||
| self._installed_version = None | ||
| @property | ||
| def installed_version(self) -> packaging.version.Version: | ||
| """Return the parsed version of pyarrow.""" | ||
| if self._installed_version is None: | ||
| import pyarrow | ||
| self._installed_version = packaging.version.parse( | ||
| # Use 0.0.0, since it is earlier than any released version. | ||
| # Legacy versions also have the same property, but | ||
| # creating a LegacyVersion has been deprecated. | ||
| # https://github.com/pypa/packaging/issues/321 | ||
| getattr(pyarrow, "__version__", "0.0.0") | ||
| ) | ||
| return self._installed_version | ||
| BQ_STORAGE_VERSIONS = BQStorageVersions() | ||
| PYARROW_VERSIONS = PyarrowVersions() | ||
| def _not_null(value, field): | ||
79 changes: 74 additions & 5 deletionsgoogle/cloud/bigquery/_pandas_helpers.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.