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

Function intersection

bigflow_python/python/bigflow/transforms.py:1158–1184  ·  view source on GitHub ↗

对于给定的PCollection1和PCollection2,返回所有同时存在于PCollection1和PCollection2 中的元素,即取两者交集 Args: pcollection1 (PCollection): 输入1 pcollection2 (PCollection): 输入2 Returns: PCollection: 相交结果 >>> from bigflow import transforms >>> a = _pipeline.parallelize([1, 1, 2, 3

(pcollection1, pcollection2, output_duplicated = False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

intersectionMethod · 0.80

Tested by

no test coverage detected