Is there any possibility to create BigQueryIO.Write
-like sink specifying function that's going return table schema (or preferably read it from side input)?
In my use case I'm fetching messages from PubSub which are transformed to TableRow. Messages could have different schema which is always backward compatible.
In my pipeline I'm able to create the newest schema for particular window and such schema need to be used in the sink writing to BigQuery.
Is there any chance that such feature is available in SDK? ;)