Explain Apache Beam python syntax

前端 未结 1 655
春和景丽
春和景丽 2020-12-07 22:40

I have read through the Beam documentation and also looked through Python documentation but haven\'t found a good explanation of the syntax being used in most of the example

相关标签:
1条回答
  • 2020-12-07 23:20

    Operators in Python can be overloaded. In Beam, | is a synonym for apply, which applies a PTransform to a PCollection to produce a new PCollection. >> allows you to name a step for easier display in various UIs -- the string between the | and the >> is only used for these display purposes and identifying that particular application.

    See https://beam.apache.org/documentation/programming-guide/#transforms

    0 讨论(0)
提交回复
热议问题