it is not clear if you need dynamic destination or schema. For the
destination the to will work, but for schema you need to use
withSchemaFromView

On Thu, Aug 24, 2017 at 3:39 AM, Eugene Kirpichov
<[email protected]> wrote:
> Yes, this is possible using the BigQueryIO.write().to(DynamicDestinations)
> API. It allows you to write different values to different tables with
> different schemas.
> On Wed, Aug 23, 2017, 2:51 PM Asha Rostamianfar <[email protected]>
> wrote:
>
>> Hi,
>>
>> I'm wondering whether it's possible to dynamically generate a BigQuery
>> schema based on input. For instance, the fields would be specified in one
>> or more input files that are read and processed as part of the pipeline.
>>
>> Thanks,
>> Asha
>>

Reply via email to