dartiga commented on issue #22543:
URL: https://github.com/apache/beam/issues/22543#issuecomment-1205837274

   That's because `UpdateSchemaDestination` is used in `BatchLoads` only. It 
was introduced in 
[2.40](https://github.com/apache/beam/commit/0a2aed7934122225eee30b31ea2fd4d60cec0197).
   
   As @johnjcasey mentioned, our custom `DynamicDestinations` expects `String` 
to be received, while `UpdateSchemaDestination` [assumes `TableDestination` 
instances 
always](https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/UpdateSchemaDestination.java#L119).


-- 
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