GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add support for Parquet options by plamut · Pull Request #679 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Conversation

@plamut

@plamut plamut commented May 25, 2021

Copy link
Copy Markdown
Contributor

Closes #661.

For load jobs and external tables config.

PR checklist:

  • 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)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

simonvanderveldt reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@plamut
feat: add support for Parquet options
3ad0b5b
For load jobs and external tables config.
@plamut
plamut requested review from a team and shollyman May 25, 2021 14:36
@product-auto-label product-auto-label Bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label May 25, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 25, 2021
tseaver
tseaver reviewed May 25, 2021
View reviewed changes
Comment thread google/cloud/bigquery/format_options.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented May 25, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels May 25, 2021
@plamut

plamut commented May 25, 2021

Copy link
Copy Markdown
Contributor Author

We still need to expose ParquetOptions in the google.cloud.bigquery namespace to be consistent with enums, etc.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut plamut added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 25, 2021
@tseaver

tseaver commented May 25, 2021

Copy link
Copy Markdown
Contributor

@googlebot I fixed it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented May 25, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@google-cla

google-cla Bot commented May 26, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut plamut removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label May 26, 2021
@plamut

plamut commented May 26, 2021

Copy link
Copy Markdown
Contributor Author

Exposed the config object in google.cloud.bigquery namespace and also made sure that parquet_options works well with the options attribute.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@simonvanderveldt

simonvanderveldt commented Jun 1, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

@plamut My team is currently a bit blocked because this functionality is missing from the BigQuery Python library. Is there anything we can do to help this get merged and released? Maybe some testing?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

simonvanderveldt
simonvanderveldt reviewed Jun 1, 2021
View reviewed changes
Comment thread google/cloud/bigquery/format_options.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@plamut

plamut commented Jun 1, 2021

Copy link
Copy Markdown
Contributor Author

@simonvanderveldt Thanks for bumping this, it appears that it's incorrectly blocked by the CLA bot (and still needs one approval).

@shollyman Can you please convince the bot to change its mind? :) And add a review, if possible?

Is there anything we can do to help this get merged and released? Maybe some testing?

If you want, you can test the BigQuery client with this PR branch, but primarily someone from Google with sufficient permissions needs to unblock the PR first.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@simonvanderveldt

simonvanderveldt commented Jun 1, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

If you want, you can test the BigQuery client with this PR branch, but primarily someone from Google with sufficient permissions needs to unblock the PR first.

Just tested it, working as expected :) We only need the list inference and using the library from this PR gives the same results as when using bq load --parquet_enable_list_inference.

plamut reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

stephaniewang526
stephaniewang526 approved these changes Jun 1, 2021
View reviewed changes
@googlebot

googlebot commented Jun 1, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephaniewang526

stephaniewang526 commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

Looks like we're missing CLA signing from [email protected]

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut

plamut commented Jun 1, 2021

Copy link
Copy Markdown
Contributor Author

But Tres is a well-known contributor? Or is it because a different email address was used?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@busunkim96

busunkim96 commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

@plamut I looks like there is no CLA for [email protected]. @tseaver's CLA lists [email protected].

I think if you edit the Co-authored-by: Tres Seaver <[email protected]> in the commit body the CLA bot will be appeased. Please holler if that doesn't work.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

plamut and others added 3 commits June 2, 2021 08:52
@plamut
Simplify ParquetOptions.to_api_repr()
2a033d7
Co-authored by Tres Seaver.
@plamut
Expose ParquetOptions in top level namespace
c7f1375
@plamut
Parquet options should be reflected in options
3ea7469
@plamut
plamut force-pushed the iss-661 branch from cd1c77b to 3ea7469 Compare June 2, 2021 06:53
@google-cla

google-cla Bot commented Jun 2, 2021

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Jun 2, 2021
@plamut

plamut commented Jun 2, 2021

Copy link
Copy Markdown
Contributor Author

That trick with editing the commit message worked, great! Since we also have an approval now, I'll merge and release this today.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut plamut added the automerge Merge the pull request once unit tests and other checks pass. label Jun 2, 2021
@plamut

plamut commented Jun 2, 2021

Copy link
Copy Markdown
Contributor Author

@busunkim96 As for the CLA bot, isn't this a bit fragile? Theoretically one could take another person's work posted as a suggestion, edit out the line in the commit message linking to that person, and then merge a non-CLA code into the project?

We can discuss this offline.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@plamut
plamut merged commit d792ce0 into googleapis:master Jun 2, 2021
@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 2, 2021
@plamut
plamut deleted the iss-661 branch June 2, 2021 07:17
@plamut

plamut commented Jun 2, 2021

Copy link
Copy Markdown
Contributor Author

@simonvanderveldt The changes have just been released, happy coding!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@simonvanderveldt

simonvanderveldt commented Jun 2, 2021

Copy link
Copy Markdown

@plamut Awesome! Thanks a lot for the quick merge and release!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Jun 7, 2021

Copy link
Copy Markdown
Contributor

@busunkim96 literally all of my commits to Google's repositories over the last seven years have been signed with the [email protected] email address. The CLAbot seems flaky / fragile for commits which are merges of through-the-web suggestions.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release python-bigquery 1.27.1 #1097
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@shollyman shollyman Awaiting requested review from shollyman
3 more reviewers
@simonvanderveldt simonvanderveldt simonvanderveldt left review comments
@tseaver tseaver tseaver left review comments
@stephaniewang526 stephaniewang526 stephaniewang526 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.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

add support for ParquetOptions for load/external tables

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@plamut @tseaver @simonvanderveldt @googlebot @stephaniewang526 @busunkim96
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.