Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Renaming tables while using Dataflow Datastream to Bigquery Template

Hi ,

I am moving data from MySQL DB to Bigquery using the google provided templates, Datastream to Bigquery .Unfortunately some of my tables have space(s) in their table names causing errors to be thrown by the dataflow job.

Exact error been thrown (java.lang.IllegalArgumentException: Table reference is not in [project_id]:[dataset_id].[table_id] format)


How can I rename the tables during the this data transfer stage ?

Thanks 

Solved Solved
0 2 1,014
1 ACCEPTED SOLUTION

Hi! Unfortunately, Beam’s regex used for table validation doesn’t support spaces. Most probably this is a bug on Beam side, you could fill a bug report here

View solution in original post

2 REPLIES 2

Hi! Unfortunately, Beam’s regex used for table validation doesn’t support spaces. Most probably this is a bug on Beam side, you could fill a bug report here

Hi @clementbellido thanks for the reply, it was helpful