OPERATOR / VERSION 1.0

piflow_add_day_id

PiFlow · Data processing

Spark EcoFlow: sort year/month/day/hour; add id and day_id. Params: partitionNum string. Inputs materialized, max 128 MiB / one million rows.

View manifest JSON ↗

Use this operator

operator: piflow_add_day_id@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

    Name and type of the source stream: records. The accompanying fixture contains year, month, day, hour, value.

    Formats: Any compatible format
  • resultOutputrecords

    Records result. Spark EcoFlow: sort year/month/day/hour; add id and day_id. Params: partitionNum string. Inputs materialized, max 128 MiB / one million rows.

Output structure and samples are provided by operator inference.

Parameters

  • partitionNumstringRequired

    partitionNum parameter. Spark EcoFlow: sort year/month/day/hour; add id and day_id. Params: partitionNum string. Inputs materialized, max 128 MiB / one million rows.

    How to fill
    partitionNum parameter. Spark EcoFlow: sort year/month/day/hour; add id and day_id. Params: partitionNum string. Inputs materialized, max 128 MiB / one million rows.
    Example value
    1

Operator usage example

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

id: process
operator: piflow_add_day_id@1.0
inputs:
  source: read_source
params:
  partitionNum: '1'

Manual download

curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/8b308e8581c96435efba3990ebce2e44f5d2929696bbd5c666c21a60facc66b3/operator.jar'
sha256sum -- 'operator.jar'
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
84de10436a0d382e0d8d2ce1ab3a82f71ebafc29
License (publisher declared)
Apache-2.0
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Compile the adapter under src/ using the registered piflow-ecoflow-spark builder. See spec.json and the upstream source manifest.

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.