Skip to content

bigquery: consider moving from getQueryResults to listTableData #2709

@pongad

Description

@pongad

The current query method uses getQueryResults RPC to read rows of the results. However, benchmark shows that listTableData run significantly faster. Experiments in Go shows getQueryResults take 70% longer.

The choice of RPC is an implementation detail and can be changed whenever. However, listTableData returns fewer fields. In Java, we decided to tweak the API surface to make it easier to change RPC later. Of course, the change to API needs to happen before GA.

Will Node require any API change?

Metadata

Metadata

Labels

api: bigqueryIssues related to the BigQuery API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions