MCPcopy Create free account
hub / github.com/baidu/bigflow / to_list_pobject

Function to_list_pobject

bigflow_python/python/bigflow/transforms.py:1209–1259  ·  view source on GitHub ↗

对于给定的PCollection,聚合为PObject,PObject的内容为list Args: pvalue (PCollection): 输入 **options: 可配置选项 Returns: PObject: 聚合后的list >>> from bigflow import transforms >>> a = _pipeline.parallelize([1, 1, 2, 3]) >>> transforms.to_list_pobject(a).get() [1, 1, 2, 3

(pvalue, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_to_pobjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected