FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add usage docs for jobs: query and load. by tseaver · Pull Request #1014 · googleapis/google-cloud-python · GitHub

Add usage docs for jobs: query and load. - #1014

Merged
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:bigquery-devx-jobs-query_load
Jul 24, 2015
Merged

Add usage docs for jobs: query and load.#1014
tseaver merged 5 commits into
googleapis:masterfrom
tseaver:bigquery-devx-jobs-query_load

Conversation

tseaver commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

No description provided.

tseaver added the api: bigquery Issues related to the BigQuery API. label Jul 23, 2015
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 23, 2015
Comment thread docs/bigquery-usage.rst Outdated

This comment was marked as spam.

This comment was marked as spam.

tseaver added 3 commits July 23, 2015 13:44
Comment thread docs/bigquery-usage.rst Outdated

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

dhermes commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

Just two things left

  • "Should the name not be object_names or object_expression or something more generic?"
  • It seems the idiom of polling is ubiquitous. We should consider a class or method to aid in this process

tseaver commented Jul 24, 2015

Copy link
Copy Markdown
Contributor Author

"Should the name not be object_names or object_expression or something more generic?"

Per Loading Data into BigQuery, the name is used to fill a URI in the form gs://<bucket>/<object>.

Per https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load, that URE can have the glob character only at the end. That value is populated into a repeatable JSON field, configuration.load.sourceUris. We want to support multiple values, any of which might be globbed.

It seems the idiom of polling is ubiquitous. We should consider a class or method to aid in this process.

Maybe so. There might even be a call to use it in pubsub (for a pull-mode subscription) or storage (does it have pull-mode change notification?). I don't really see it as a blocker for this PR, though.

dhermes commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

Pull idiom not a blocker for this PR, but maybe we should file a tracking issue?

As for the rest, the question is about the appropriate name for the variable, not about the feature. I already understood the URI from your previous comment.

object_name does not capture the possibility of a group of files (via a glob) so I'm proposing we consider object_names or object_expression as the variable name.

tseaver commented Jul 24, 2015

Copy link
Copy Markdown
Contributor Author

object_names doesn't work -- it implies a sequence. object_name_glob, maybe?

dhermes commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

It's rightly a regex, yes?

tseaver commented Jul 24, 2015

Copy link
Copy Markdown
Contributor Author

Nope (there is no preceding ., for instance). It really is a prefix-only glob pattern.

dhermes commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

OK. SGTM.

Change it to your choice of more descriptive variable name and LGTM.

tseaver commented Jul 24, 2015

Copy link
Copy Markdown
Contributor Author

@dhermes 48eef92 changes the argument name to object_name_glob.

dhermes commented Jul 24, 2015

Copy link
Copy Markdown
Contributor

SGTM. We're all good to merge then, right?

tseaver commented Jul 24, 2015

Copy link
Copy Markdown
Contributor Author

Yup

tseaver added a commit that referenced this pull request Jul 24, 2015
tseaver merged commit fd6c48a into googleapis:master Jul 24, 2015
tseaver deleted the bigquery-devx-jobs-query_load branch July 27, 2015 17:04
parthea pushed a commit that referenced this pull request Nov 22, 2025
parthea pushed a commit that referenced this pull request Nov 24, 2025
Fixes #1014 and unblocks #1043.

NOTE: Some real world APIs expect the first request to pass a config (example) so the generated samples will not work out of the box. This will be addressed when the new sample config language is sorted out.
parthea pushed a commit that referenced this pull request Nov 24, 2025
* fix: fix thread cleanup when destroying Watch instance

* added test for on_snapshot while closing
parthea pushed a commit that referenced this pull request Mar 2, 2026
parthea pushed a commit that referenced this pull request Mar 2, 2026
* chore(deps): update all dependencies

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
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](https://github.com/googleapis/python-bigquery/issues/new/choose) 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)

Issue discovered while investigating what properties are needed in #967
parthea pushed a commit that referenced this pull request Mar 6, 2026
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](https://github.com/googleapis/python-bigquery-pandas/issues/new/choose)
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)

Fixes #<issue_number_goes_here> 🦕
parthea pushed a commit that referenced this pull request Mar 6, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.8.3
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620
<details><summary>pandas-gbq: v0.34.0</summary>

##
[v0.34.0](googleapis/python-bigquery-pandas@v0.33.0...v0.34.0)
(2026-03-05)

### Features

* support biglake tables in pandas_gbq.sample (#1014)
([16d08696](googleapis/python-bigquery-pandas@16d08696))

### Bug Fixes

* support pandas 3.0 (prerelease) (#998)
([4ea2d57f](googleapis/python-bigquery-pandas@4ea2d57f))

### Documentation

* Update bigframes links to new homepage (#1028)
([72f772ec](googleapis/python-bigquery-pandas@72f772ec))

</details>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL