GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feature request: better api for arbitrary keyword argument pass to query ? · Issue #3210 · googleapis/google-cloud-python Closed Labels api: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. Descriptionfrom this example https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery-usage.html#querying-data-asynchronous >>> dataset = client.dataset('dataset_name') >>> table = dataset.table(name='person_ages') >>> job = client.run_async_query('fullname-age-query-job', query) >>> job.destination = table >>> job.write_disposition= 'WRITE_TRUNCATE' >>> job.name 'fullname-age-query-job' >>> job.job_type 'query' >>> job.created None >>> job.state None how about a better api by allowing arbitrary keyword list to be appended on the insert job POST request >>> job = client.run_async_query(query, destinationTable={'datasetId': 'dataset_name', 'tableId': 'person_ages'}, writeDisposition='WRITE_TRUNCATE', ) in python it can be implemented as dict as last argument: def run_async_query(query, **kwargs): # populate from kwargs to be on the `configuration.query` in the post request body, # it could optionally have jobId Btw, from #3209 I am not puting a Activity
MetadataMetadataAssigneesLabelsapi: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| 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. |