Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync BigQuery usage docs with current API #1263

Merged
merged 8 commits into from
Dec 9, 2015
Merged

Sync BigQuery usage docs with current API #1263

merged 8 commits into from
Dec 9, 2015

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Dec 4, 2015

Note: the client.jobs() example is science fiction, to be addressed in #1260.

Fixes #1259.

@tseaver tseaver added the api: bigquery Issues related to the BigQuery API. label Dec 4, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 4, 2015
@@ -232,11 +232,7 @@ Get rows from a table's data:
>>> client = bigquery.Client()
>>> dataset = client.dataset('dataset_name')
>>> table = dataset.table(name='person_ages')
>>> rows, next_page_token = table.data(max_results=100) # API request
>>> rows.csv.headers

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.

This comment was marked as spam.

This comment was marked as spam.

>>> job = client.load_table_from_storage(
... 'load-from-storage-job', table, 'gs://bucket-name/object-prefix*')
>>> job.source_format = 'CSV'
>>> job.skip_leading_rows = 1 # count of skipped header rows

This comment was marked as spam.

@tseaver
Copy link
Contributor Author

tseaver commented Dec 8, 2015

@dhermes any remaining issues?

@dhermes
Copy link
Contributor

dhermes commented Dec 9, 2015

LGTM. Sorry for the holdup.

tseaver added a commit that referenced this pull request Dec 9, 2015
Sync BigQuery usage docs with current API
@tseaver tseaver merged commit cda34f4 into googleapis:master Dec 9, 2015
@tseaver tseaver deleted the 1259-sync_bigquery_usage_docs branch December 9, 2015 04:51
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