-
Notifications
You must be signed in to change notification settings - Fork 438
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
bigquery: consider moving from getQueryResults to listTableData #718
Comments
I believe this should be P1. If surface change is required, it needs to happen before GA. |
Hey @pongad, It looks like the original direction we received from the BigQuery team was in fact to do exactly what you have suggested - however, that requirement was later dropped with a note stating |
It's not a required change in the sense that things will still work if we don't change. However, according to BigQuery team
A part of this is somewhat fundamental: Let's imagine that
We might want to make queries faster a few months from now, but then we can't since moving to The P1 issue is to verify that we can swap the RPC later on. The actual swap doesn't need to happen right now. Am I making any sense? |
Yes, makes sense. Thanks for the extra explanation :). If we move to using |
No problem! Yes, we can keep using Thank you for checking. Since this no longer blocks GA, I'll move this to P2 since we'll probably want to move at some point. |
Moving this to the new Feature Request wiki page. |
The current
query
method usesgetQueryResults
RPC to read rows of the results. However, benchmark shows thatlistTableData
run significantly faster. Experiments in Go showsgetQueryResults
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 PHP require any API change?
The text was updated successfully, but these errors were encountered: