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

Function to_pobject

bigflow_python/python/bigflow/transforms.py:1382–1421  ·  view source on GitHub ↗

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

(pvalue, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_to_pobjectFunction · 0.85

Tested by

no test coverage detected