apache Beam在本地运行,但无法在Python中从csv读取数据

时间:2018-10-13 06:03:58

标签: python-2.7 apache apache-beam

将apache_beam导入为梁 从apache_beam.options.pipeline_options导入PipelineOptions

p = beam.Pipeline(options=PipelineOptions())lines = p | beam.io.ReadFromText('file:///C:/Users/Lenovo/Desktop/dataflow.csv')

Apache Beam在本地运行,但无法从csv读取数据。

0 个答案:

没有答案