Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect File Formats

Configure Zingg pipes for CSV, Parquet, Avro, JSON, TSV, and XML flat file formats.

This page covers standalone flat file connections - reading and writing files directly from a local path or mounted file system.

For files stored in cloud platforms, use the format sections within each platform tab.

  • Files on Databricks or Fabric - Connect cloud warehouses

  • Files on S3 - Connect cloud storage

Python API - Community

from zingg.client import*
from zingg.pipes import*

schema = "field1 string, \
field2 string, field3 string"

inputPipe = CsvPipe("csvInput", "/path/to/input.csv", schema)
args.setData(inputPipe)

outputPipe = CsvPipe("csvOutput", "/path/to/output")
args.setOutput(outputPipe)

Python API - Enterprise

Enterprise uses ECsvPipe. The pipe setup is identical - only the class name and import changes.

from zinggEC.enterprise.common.epipes import*
from zinggEC.enterprise.common.EArguments import*

schema = "field1 string, \
field2 string, field3 string"

inputPipe = ECsvPipe("csvInput", "/path/to/input.csv", schema)
args.setData(inputPipe)

outputPipe = ECsvPipe("csvOutput", "/path/to/output")
outputPipe.setHeader("true")
args.setOutput(outputPipe)

JSON Config

Python API

JSON Config

Python API

JSON Config

Python API

JSON Config

  • For multiline JSON files, add multiLine: true to props.

  • For JSON Lines (one object per line), no additional props needed.

What about TSV and XLSX?

TSV

TSV uses the same CSV connector with a tab delimiter.

Python API - Community

XLSX

CHECK WITH SONAL - XLSX is listed as supported on zingg.ai but the connector format string and Python class are not confirmed on any live docs page. Please confirm the XLSX config and whether it is all editions or ENT only.

Last updated

Was this helpful?