{"api_version":2,"name":"piflow_histogram","version":"1.0","role":"transform","type":"sdk","description":"Produce grouped histogram data as records, not an image. Params: abscissa, customizedProperties mapping columns to COUNT/SUM/AVG/MAX/MIN. SQLite aggregates, scalar columns, 128 MiB.","icon":{"path":"M3 5h18v14H3zM3 10h18M3 14h18M9 5v14"},"inputs":{"source":{"representations":["records"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"abscissa":{"type":"string","description":"abscissa parameter. Produce grouped histogram data as records, not an image. Params: abscissa, customizedProperties mapping columns to COUNT/SUM/AVG/MAX/MIN. SQLite aggregates, scalar columns, 128 MiB."},"customizedProperties":{"type":"object","properties":{},"required":[],"additionalProperties":{"type":"string","enum":["AVG","SUM","MIN","MAX","COUNT"]},"description":"Column names mapped to aggregate functions."}},"required":["abscissa","customizedProperties"],"additionalProperties":false},"documentation":{"inputs":{"source":"Name and type of the source stream: records. The accompanying fixture contains station_id, temperature, quality."},"outputs":{"result":"Records result. Produce grouped histogram data as records, not an image. Params: abscissa, customizedProperties mapping columns to COUNT/SUM/AVG/MAX/MIN. SQLite aggregates, scalar columns, 128 MiB."},"parameters":{"abscissa":{"description":"abscissa parameter. Produce grouped histogram data as records, not an image. Params: abscissa, customizedProperties mapping columns to COUNT/SUM/AVG/MAX/MIN. SQLite aggregates, scalar columns, 128 MiB.","help":"abscissa parameter. Produce grouped histogram data as records, not an image. Params: abscissa, customizedProperties mapping columns to COUNT/SUM/AVG/MAX/MIN. SQLite aggregates, scalar columns, 128 MiB.","example":"station_id"},"customizedProperties":{"description":"Column names mapped to aggregate functions.","help":"Column names mapped to aggregate functions.","example":{"temperature":"AVG","quality":"SUM"}}},"example_job":"name: PiFlow histogram example\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/histogram-source.parquet\n    view: records\n- id: process\n  operator: piflow_histogram@1.0\n  inputs:\n    source: read_source\n  params:\n    abscissa: station_id\n    customizedProperties:\n      temperature: AVG\n      quality: SUM\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_histogram","config":{}},"source_public":true,"provenance":{"source_archive":{"sha256":"c7982e37e2fc74902fc6462f764f28c979b771a9a274d47c7bd88786817a80e7","size":21401,"filename":"piflow_histogram-sources.zip"},"license":"Apache-2.0","license_file":{"sha256":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","size":11357,"filename":"LICENSE.txt"},"source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"84de10436a0d382e0d8d2ce1ab3a82f71ebafc29","build_instructions":"Compile the adapter under src/ using the registered python-arrow builder. See spec.json and the upstream source manifest."},"artifact":{"sha256":"55643ac595cdce52f8a9903e14fab36c0b5bb5340e3e0b9a66e81a04b673fa99","size":10781,"filename":"operator.zip"},"categories":["PiFlow","Visualization"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795076806304},"publication":{"author":"dacp-examples","submitted_at_ms":1795076792652,"approved_at_ms":1795076806304,"last_submitted_at_ms":1795076792652,"last_approved_at_ms":1795076806304},"download_count":5}