OPERATOR / VERSION 1.0

piflow_convert_schema_type

PiFlow · Data conversion

Convert all input fields to text or cast selected fields to string and 32-bit integer.

View manifest JSON ↗

Use this operator

operator: piflow_convert_schema_type@1.0

Configure 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 amount, active.

    Formats: Any compatible format
  • resultOutputrecords

    Records stream. Convert all input fields to text or cast selected fields to string and 32-bit integer.

Output structure and samples are provided by operator inference.

Parameters

  • allbooleanRequired

    Convert every field to text when enabled.

    How to fill
    Convert every field to text when enabled.
    Example value
    false
  • stringTypestringRequired

    Comma-separated fields to convert to text, or empty to skip.

    How to fill
    Comma-separated fields to convert to text, or empty to skip.
    Example value
    active
  • integerTypestringRequired

    Comma-separated fields to convert to integers, or empty to skip.

    How to fill
    Comma-separated fields to convert to integers, or empty to skip.
    Example value
    amount

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: piflow_convert_schema_type@1.0
inputs:
  source: read_source
params:
  all: false
  stringType: active
  integerType: amount

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/0645cc89e1b83b334a723475f23cdf50e5ad89c29c3f59f3429605a3299c5e43/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
3b751243e8803ccb175b369a090f911ea1ecd474
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.