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

Function distinct

bigflow_python/python/bigflow/schema.py:1026–1046  ·  view source on GitHub ↗

按指定列去重 Args: pcollection (SchemaPCollection): 输入的pcollecton columns (list of str): 要distinct的列 Returns: SchemaPCollection: 做过distinct的pcollection Examples: >>> from bigflow import base, schema, transforms >>> p = base.Pipeline.create('local

(pcollection, columns)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

flatten_valuesMethod · 0.80
apply_valuesMethod · 0.80
applyMethod · 0.45

Tested by

no test coverage detected