[Q] How can a call to Insert rows into BigQuery using the client in c++ be made? #6809
-
I see that old client listed here http://google.github.io/google-api-cpp-client/latest/available_service_apis.html seemed to have all the APIs including inserts. But the issue with this one is that there is no documentation anywhere that allows one to build successfully. Also, most of the dependencies client library used by the generated code that is part of this library are deprecated according to their github READMEs. Also, the json library used by most of these libs seems to be very old and the wrappers to json library used by these libs from the link seems to be missing from the libraries. Instead of relying on the library from the link, I have also tried generating library using the discovery document. Even that seems to have similar issues as mentioned above. Most of the docs point to this monorepo, which seems to have bigquery client. The included client doesn't seem to have this functionality. If it is present, there is no documentation related to it. Could you please help me identify the right library and instructions to get the client built to insert rows into bigquery tables. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
TL;DR; there is no recommended or GA library for BigQuery C++ at this point in time. We are working to support more and more Cloud Services in |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response. But is there any document or help I can get to resolve the issues with the deprecated bigquery library mentioned above until it is available as part of this library? |
Beta Was this translation helpful? Give feedback.
-
Sadly, I do not know of any. I have zero experience with You may be able to use a REST library to send simple requests. You probably can use the classes in |
Beta Was this translation helpful? Give feedback.
TL;DR; there is no recommended or GA library for BigQuery C++ at this point in time.
We are working to support more and more Cloud Services in
google-cloud-cpp
and these questions are useful to guide our prioritization, thanks!