【发布时间】:2021-03-10 09:50:14
【问题描述】:
使用 GCP 探索 ETL 流程。我在 Dataflow 中使用 Pub/Sub Subscription to BigQuery 模板。
Pub/Subscription 中的消息数据为 csv 格式,如下所示
53466,06/30/2020,,特立尼达和多巴哥,2020-07-01 04:33:52,130.0,8.0,113.0
这会在加载到 BigQuery 表时出现错误。如何在模板中将 CSV 数据转换为 JSON?
【问题讨论】:
-
你能分享一下错误吗?您能否详细说明如何启动您的模板?
标签: google-cloud-platform google-bigquery google-dataflow google-cloud-pubsublite