googleapis / nodejs-bigquery-storage

BigQuery Storage Node.js client
Apache License 2.0
34 stars 17 forks source link

We shouldn't send schema repeatedly on a connection #445

Open yirutang opened 6 months ago

yirutang commented 6 months ago

Sending schema after the first request on the connection will incur backend to validate if the schema is changed or not for every request and that is expensive, we should remove the write_stream and write_schema field for the following requests on the connection. The other field that should be per connection is trace_id field.