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

BigQuery Storage: Add support for arrow format in BQ Read API#8644

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 10 commits intogoogleapis:masterfromtswast:pr8551-only-bqstorage
Jul 11, 2019

Conversation

@tswast
Copy link
Contributor

  • Makes_StreamParser abstract, and breaks it into two implementations: one for arrow and one for avro. The implementation is selected is based on the schema set in the ReadSession.
  • Addsto_arrow to reader classes.

Split out from#8551 so that the changes togoogle-cloud-bigquery-storage can be submitted and released separately from the changes togoogle-cloud-bigquery.

@tswasttswast requested a review froma teamJuly 11, 2019 13:46
@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelJul 11, 2019
@tswasttswast added the api: bigquerystorageIssues related to the BigQuery Storage API. labelJul 11, 2019

_AVRO_BYTES_OPERATION="parse ReadRowResponse messages with Avro bytes"
_ARROW_BYTES_OPERATION="parse ReadRowResponse messages with Arrow bytes"
_FASTAVRO_REQUIRED="fastavro is required to {operation}."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I assume these parameterized errors are for when you do things like to_arrow with avro bytes?

Copy link
ContributorAuthor

@tswasttswastJul 11, 2019
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yeah, this is vestigial from when I was planning to implementto_arrow for Avro streams. Removed for now.

used in the stream messages.
"""
iffastavroisNone:
raiseImportError(_FASTAVRO_REQUIRED)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

does this need to be parameterized as well?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Removed the{operation} from error message since I didn't actually need it.

@tswasttswast merged commitc5a7cd2 intogoogleapis:masterJul 11, 2019
@tswasttswast deleted the pr8551-only-bqstorage branchJuly 11, 2019 20:04
parthea pushed a commit that referenced this pull requestAug 21, 2025
* BQ Storage: Add basic arrow stream parser* BQ Storage: Add tests for to_dataframe with arrow data* Add to_arrow with BQ Storage API.
parthea pushed a commit that referenced this pull requestSep 16, 2025
* BQ Storage: Add basic arrow stream parser* BQ Storage: Add tests for to_dataframe with arrow data* Add to_arrow with BQ Storage API.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@shollymanshollymanshollyman approved these changes

Assignees

No one assigned

Labels

api: bigquerystorageIssues related to the BigQuery Storage 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.

4 participants

@tswast@shollyman@googlebot@TheNeuralBit

[8]ページ先頭

©2009-2025 Movatter.jp