piflow_card_code_clean
PiFlow · Data cleaningNormalize the configured identity column for document type 1. Preserve all other document numbers.
Use this operator
operator: piflow_card_code_clean@1.0Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.
Named ports
- sourceInputrecords
Arrow records. The example uses type, code.
Formats: Any compatible format - resultOutputrecords
Records stream. Normalize the configured identity column for document type 1. Preserve all other document numbers.
Output structure and samples are provided by operator inference.
Parameters
- cardCodeFieldstringRequired
Existing string column containing the document code.
- How to fill
- Existing string column containing the document code.
- Example value
- code
- cardTypeFieldstringRequired
Column indicating document type. 1 selects a Chinese identity number.
- How to fill
- Column indicating document type. 1 selects a Chinese identity number.
- Example value
- type
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: piflow_card_code_clean@1.0
inputs:
source: read_source
params:
cardCodeField: code
cardTypeField: type
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/5d0030836c938abe0b3e2163aabba4f2746fdf295309acc1688199ae04d03846/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4/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
- f9bb5542e253fddea75a338a8dd476270f86ce59
- 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.