标签: 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读取数据。