GoogleCloudPlatform / DataflowJavaSDK

Google Cloud Dataflow provides a simple, powerful model for building both batch and streaming parallel data processing pipelines.
http://cloud.google.com/dataflow
855 stars 324 forks source link

BigQueryIO.Write Setting table expiration time using Dataflow BigQuery sink #588

Open hassa687 opened 7 years ago

hassa687 commented 7 years ago

Setting table expiration time using Dataflow BigQuery sink, was not able to find anything in 1.9.0 for setting table expiration.

nguyent commented 7 years ago

AFAICT you can only set the expiration time using the BigQuery API:

https://developers.google.com/resources/api-libraries/documentation/bigquery/v2/java/latest/com/google/api/services/bigquery/model/Table.html#setExpirationTime(java.lang.Long)