Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(bigquery): fix arrow deprecation warning#9504

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
tswast merged 1 commit intogoogleapis:masterfromplamut:iss-9485
Oct 22, 2019

Conversation

@plamut
Copy link
Contributor

@plamutplamut commentedOct 20, 2019
edited
Loading

Fixes#9485.

This PR fixes a warning that can be issued when downloading results as pyarrow record batches.

The warning was caused bypyarrow, because apyarrow schema was passed as thenames argument, instead of as theschema argument, andpyarrow started raising a warning for it in version0.15.0 (source code).

Steps to reproduce

  • Make surepyarrow 0.15.0+ is installed (there is no warning in prior versions),
  • Runquery_to_arrow test,

Actual result (before the fix):
Apyarrow FutureWarning is issued (as described in the issue description).

Expected result (after the fix):
No warning is issued, everything works as expected.

This commit fixes a warning that can be issued when downloadingresults as pyarrow record batches.
@plamutplamut added the api: bigqueryIssues related to the BigQuery API. labelOct 20, 2019
@plamutplamut requested a review froma teamOctober 20, 2019 12:19
@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelOct 20, 2019
@tswasttswast merged commit4644da1 intogoogleapis:masterOct 22, 2019
@plamutplamut deleted the iss-9485 branchOctober 23, 2019 05:53
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tswasttswasttswast approved these changes

Assignees

No one assigned

Labels

api: bigqueryIssues related to the BigQuery API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

BigQuery: pyarrow warning about schema argument

3 participants

@plamut@tswast@googlebot

[8]ページ先頭

©2009-2025 Movatter.jp