117.10. 确保数据一致性
参考资料 :https://cloud.google.com/bigquery/streaming-data-into-bigquery#dataconsistency
可以通过标头 GoogleBigQueryConstants.INSERT_ID
或指定查询参数 useAsInsertId
来设置插入 ID。当有效负载是列表时,就需要指定插入交换标头的行时插入的插入 id - 如果有效负载列表是 GoogleBigQueryConstants.INSERT_ID
将被忽略。在这种情况下,请使用查询参数 useAsInsertId
。