{"api_version":2,"name":"piflow_folder_csv_parser","version":"1.0","role":"transform","type":"sdk","description":"Read CSV items from one folder. Skip a first row matching the configured schema and preserve field text.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{"source":{"representations":["items"],"formats":[]}},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"schema":{"type":"string","description":"Comma-separated output column names."},"delimiter":{"type":"string","description":"One-character CSV field delimiter.","minLength":1,"maxLength":1}},"required":["schema","delimiter"],"additionalProperties":false},"documentation":{"inputs":{"source":"Items stream with file references. Matching Items are opened using their bytes view."},"outputs":{"result":"Records stream. Read CSV items from one folder. Skip a first row matching the configured schema and preserve field text."},"parameters":{"schema":{"description":"Comma-separated output column names.","help":"Comma-separated output column names.","example":"id,name"},"delimiter":{"description":"One-character CSV field delimiter.","help":"One-character CSV field delimiter.","example":","}},"example_job":"name: Parse a collection of CSV items\nsteps:\n- id: read_source\n  operator: folder_items_source@1.0\n  inputs: {}\n  params:\n    uri: context:/piflow/source\n    recursive: false\n- id: process\n  operator: piflow_folder_csv_parser@1.0\n  inputs:\n    source: read_source\n  params:\n    schema: id,name\n    delimiter: ','\n- id: receive_result\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:6a8ba4bc968ddbf2653810b884ad0949c3776f5bc4cab3c4caeb9812e7afc222","archive":{"sha256":"6e68b74e365c989ae400ed47c0dc272d9dc26f0c0d18396827ce802f55afdc07","size":73393569,"filename":"python-arrow-2.1.tar.gz"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_folder_csv_parser","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"6f254537683a4af28c2b89ca5f5ad51fb71153dd","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.1. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"0e2b5bd519bd368cdf6e77e3ec6c7f1154ed388d8b13ddfac05491b95161923d","size":14669,"filename":"piflow_folder_csv_parser-sources.zip"},"license_file":{"sha256":"2a45ff20671144c1709be48b36f5e55d97145c767dae1cf91965cbd2cf625768","size":1317,"filename":"LICENSE.txt"}},"artifact":{"sha256":"bcf3480ad58a8fd6b03bb5a996e4984eb31d92d90ed1d5a1e663bc4a492f569d","size":31274,"filename":"operator.zip"},"categories":["PiFlow","CSV"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795080504262},"publication":{"author":"dacp-examples","submitted_at_ms":1795080473334,"approved_at_ms":1795080504262,"last_submitted_at_ms":1795080473334,"last_approved_at_ms":1795080504262},"download_count":5}