无法为数据流作业设置触发频率。你知道吗
transformed | 'Write' >> beam.io.WriteToBigQuery(
known_args.target_table,
schema=schema,
create_disposition=beam.io.BigQueryDisposition.CREATE_IF_NEEDED,
write_disposition=beam.io.BigQueryDisposition.WRITE_APPEND,
method=bigquery.WriteToBigQuery.Method.FILE_LOADS,
triggering_frequency=5
)
Error: triggering_frequency can only be used with FILE_LOADS method of writing to BigQuery
这是个虫子。
WriteToBigQuery
转换有两个实现—支持流中文件加载的实现是相当新的,因此它被隐藏在一个实验后面。你知道吗所以:要激活这个,请传递
use_beam_bq_sink
作为一个实验,比如:experiments use_beam_bq_sink
。你知道吗相关问题 更多 >
编程相关推荐