ahmedabu98 commented on issue #33238:
URL: https://github.com/apache/beam/issues/33238#issuecomment-2528810485

   We do always attempt to fetch the StreamWriter's updated schema: 
https://github.com/apache/beam/blob/85bff0d2c1adb743c4738f51428c88fb74532021/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiWritesShardedRecords.java#L927-L928
   
   But looking at the implementation in Storage API code base, we see that the 
updated schema is returned only if the StreamWriter was created before the 
schema update operation: 
https://github.com/googleapis/java-bigquerystorage/blob/f090c8eb91c1fad9e7f13850b367cca64c0afe5c/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1/StreamWriter.java#L576-L591


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to