Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Jul 23, 2015

Uses #1014 as a base.

@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Jul 23, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 23, 2015
@tseaver tseaver changed the title Add examples for copying / exporting table data. Add examples for browsing / copying / exporting table data. Jul 23, 2015
@dhermes
Copy link
Contributor

dhermes commented Jul 23, 2015

Will address once base is merged

@tseaver
Copy link
Contributor Author

tseaver commented Jul 24, 2015

@dhermes rebased after merge of #1014.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@tseaver
Copy link
Contributor Author

tseaver commented Jul 28, 2015

@dhermes PTAL.

@dhermes
Copy link
Contributor

dhermes commented Jul 28, 2015

I have a comment still un-addressed

OK. Will there be a way to access headers without the csv property?

@tseaver
Copy link
Contributor Author

tseaver commented Jul 28, 2015

The https://cloud.google.com/bigquery/docs/reference/v2/tabledata/list API doesn't show any schema in the result set, which implies that the fields must correspond to the table's schema. I had imagined that rows, when iterated, would return tuples of the values (one per row).

@dhermes
Copy link
Contributor

dhermes commented Jul 28, 2015

So how does that relate to my question. Do you plan on implementing access in another form?

@tseaver
Copy link
Contributor Author

tseaver commented Jul 28, 2015

If we can predict what people want to do, we can add helpers. Otherwise, we can document a pattern like:

for row in rows:
     for field, value in zip(table.schema, row):
          do_somthing(field, value)

@dhermes
Copy link
Contributor

dhermes commented Jul 28, 2015

Can you add that snippet to these docs? (With a spelling patch to do_somthing)

@tseaver
Copy link
Contributor Author

tseaver commented Jul 28, 2015

2624822

@dhermes
Copy link
Contributor

dhermes commented Jul 28, 2015

LGTM

tseaver added a commit that referenced this pull request Jul 28, 2015
Add examples for browsing / copying / exporting table data.
@tseaver tseaver merged commit 25545c8 into googleapis:master Jul 28, 2015
@tseaver tseaver deleted the bigquery-devx-jobs-export_copy branch July 28, 2015 18:59
parthea pushed a commit that referenced this pull request Nov 22, 2025
Source-Link: googleapis/synthtool@373d00f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2dc6f67639bee669c33c6277a624ab9857d363e2fd33ac5b02d417b7d25f1ffc

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 24, 2025
* feat: Add REST Interceptors which support reading metadata
feat: Add support for reading selective GAPIC generation methods from service YAML
chore: Update gapic-generator-python to v1.22.0

PiperOrigin-RevId: 724026024

Source-Link: googleapis/googleapis@ad99638

Source-Link: googleapis/googleapis-gen@e291c4d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTI5MWM0ZGQxZDY3MGVkYTE5OTk4ZGU3NmY5NjdlMTYwM2E0ODk5MyJ9

* 🦉 Updates from OwlBot post-processor

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

* chore: expose the Firestore.executePipeline API to the preview branch
docs: minor documentation updates to `StructuredQuery`
docs: minor documentation changes for `distance_threshold`

PiperOrigin-RevId: 731306872

Source-Link: googleapis/googleapis@b6d5ae8

Source-Link: googleapis/googleapis-gen@4cb9048
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNiOTA0ODg3MWJmNTkwNmIzOTBlOGVhM2Q3YjlmMWVmNmFjMTlkNiJ9

* 🦉 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>
Co-authored-by: Daniel Sanche <sanche@google.com>
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