Closed CharlesFr closed 7 months ago
"Could you please let me know what class in V2 replaces AppendRowsStream from V1?"
As far as I understand, the new "way" to write is by using the AppendRows method instead of AppendRowsStream to write.
You can read about AppendRows here: https://cloud.google.com/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1#google.cloud.bigquery.storage.v1.BigQueryWrite.AppendRows
Thank you @CharlesFr for raising the issue. Could you tell me more about what you mean by V2, and why you are not using google.cloud.bigquery_storage_v1
for imports? All the APIs you mentioned are available there.
In the V1 client,
writer
was importable as shown below, which allowed for creation of aAppendRowsStream
row stream objects. However, after migrating from V2 it seemswriter
is no longer available which is a breaking change that is not covered in the migration guide. Could you please let me know what class in V2 replacesAppendRowsStream
from V1?Legacy import:
New import (fails):
And here's the context in which it's used in my codebase:
Thank you