You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "ahmedabu98 (via GitHub)" <gi...@apache.org> on 2024/12/09 17:25:15 UTC

Re: [I] [Bug]: Newly created Storage API write streams do not recognize the previously updated table schema [beam]

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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org