googleapis / googleapis/google-cloud-cpp-bigquery

Support Query RPC for fast first page results

Offen
#49 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: feature request
Vorherrschende Sprache
C++
Sterne
3
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

BigQuery supports both the InsertJob RPC (with type QueryJob) as well as a Query RPC (https://github.com/googleapis/googleapis/blob/8798ceff3f6fbcdce3186b67ce9339df337569d5/google/cloud/bigquery/v2/job.proto#L117). InsertJob is an asynchronous RPC stores the query results in a BigQuery table, while Query is a synchronous RPC that returns the first page of results immediately while executing a QueryJob asynchronous for the rest of the results.

Add a Query method that returns the first page of results as a collection of std::tuples and a JobReference that can be used to poll for the remainder of the results.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.