piflow_data_sort
PiFlow · Data processingGlobally sort a bounded input on one or more fields. Ascending order places nulls first, and descending places them last.
Use this operator
operator: piflow_data_sort@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 sensor, value.
Formats: Any compatible format - resultOutputrecords
Records stream. Globally sort a bounded input on one or more fields. Ascending order places nulls first, and descending places them last.
Output structure and samples are provided by operator inference.
Parameters
- sortFieldstringRequired
Comma-separated column names in sort precedence order.
- How to fill
- Comma-separated column names in sort precedence order.
- Example value
- sensor,value
- sortOrderstringRequired
Direction shared by all sort columns.
- How to fill
- Direction shared by all sort columns. · Allowed values: asc, desc
- Example value
- asc
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: piflow_data_sort@1.0
inputs:
source: read_source
params:
sortField: sensor,value
sortOrder: asc
Manual download
curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/291d7277e9bd5ebd0eb08a889572a6d8125fec0fe0108598fbf229874d3e706b/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
- db177aa6d9b84d91078caa9a591574b1fe3cf20c
- 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.