【发布时间】:2018-03-06 12:31:55
【问题描述】:
我有 PCollection
这是我的代码:
PCollection<TableRow> getConfigTable = pipeline.apply("read from Table",
BigQueryIO.readTableRows().from("TableName"));
RetrieveDestTableName retrieveDestTableName = new RetrieveDestTableName();
PCollection<String> getDestTableName = getConfigTable.apply(ParDo.of(new DoFn<String,String>(){
@ProcessElement
public void processElement(ProcessContext c){
c.output(c.element().get("ColoumnName").toString());
}
}));
根据上面的代码,我将从 getDestTableName 获得 PCollection
有什么方法可以将 PCollection
【问题讨论】:
标签: google-bigquery google-cloud-storage google-cloud-dataflow