Do you mean creating the BigQuery table when it does not exist? If so, you can check https://beam.apache.org/documentation/io/built-in/google-bigquery/#create-disposition .
On Mon, Apr 24, 2023 at 12:47 AM Himanshu Hazari via user < user@beam.apache.org> wrote: > I am new to Apache beam so please forgive me for the silly question but Is > it possible to fetch the data from JDBC and create it in BigQuery. > > I can see template where data is written to *existing* BigQuery table. > > But I want to create table based on the query which I run, no existing > table in Bq, so it should have same column names and need to create > bigquery table dynamically each time I run the workflow. > > > > > --- > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > Privacy of communications > In order to monitor compliance with legal and regulatory obligations and > our policies, procedures and compliance programs, we may review emails and > instant messages passing through our IT systems (including any personal > data and customer information they contain), and record telephone calls > routed via our telephone systems. We will only do so in accordance with > local laws and regulations. In some countries please refer to your local DB > website for a copy of our Privacy Policy. > > Please refer to https://db.com/disclosures for additional EU corporate > and regulatory disclosures. >