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

Function subtract

bigflow_python/python/bigflow/transforms.py:904–924  ·  view source on GitHub ↗

对于给定的PCollection1和PCollection2,返回所有存在于PCollection1但不在PCollection2 中的元素,相当于做容器减法 Args: pcollection1 (PCollection): 作为被减数的PCollection pcollection2 (PCollection): 作为减数的PCollection Returns: PCollection: 表示结果的PCollection >>> from bigflow import transforms

(pcollection1, pcollection2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

subtractMethod · 0.80

Tested by

no test coverage detected