piflow_complement_by_memcache
PiFlow · Data processingReplace selected columns on a lookup key hit. Rows without a matching key keep their original values.
Use this operator
operator: piflow_complement_by_memcache@1.0Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.
Named ports
- lookupInputrecords
Arrow records. The example uses code, label.
Formats: Any compatible format - sourceInputrecords
Arrow records. The example uses code, label.
Formats: Any compatible format - resultOutputrecords
Records stream. Replace selected columns on a lookup key hit. Rows without a matching key keep their original values.
Output structure and samples are provided by operator inference.
Parameters
- keyFilestringRequired
Key column shared by the source and lookup streams.
- How to fill
- Key column shared by the source and lookup streams.
- Example value
- code
- replaceFieldstringRequired
Comma-separated columns to copy from the lookup stream.
- How to fill
- Comma-separated columns to copy from the lookup stream.
- Example value
- label
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: piflow_complement_by_memcache@1.0
inputs:
lookup: read_lookup
source: read_source
params:
keyFile: code
replaceField: label
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/b45cc2e3fa3ad4aff55b198b94efd23306a671eb962ff15e0a357780bf70dbeb/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/2a45ff20671144c1709be48b36f5e55d97145c767dae1cf91965cbd2cf625768/LICENSE.txt'
sha256sum -- 'LICENSE.txt'Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.
Source and licensing
See Source archive under Artifact details
- Source repository
- https://github.com/cas-bigdatalab/piflow
- Source revision
- 6f254537683a4af28c2b89ca5f5ad51fb71153dd
- License (publisher declared)
- Apache-2.0
- License text
- Available below
- Dependency SBOM
- Dependency SBOM not provided
Build instructions
Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.
Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.