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

Connect Cloud Storage

Configure Zingg to read from and write to cloud object storage including AWS S3, Azure Blob Storage, and Google Cloud Storage.

right-long

Zingg can use cloud storage as both a data source and output destination. The JSON config and Python API sections below show how to connect to each storage platform. Available in all editions.

Prerequisites

S3 uses the s3a:// path protocol and requires two Hadoop AWS JARs on the Spark classpath.

Before connecting, complete these steps:

  1. Create S3 bucket and folder (e.g. bucket: zingg28032023, folder: zingg)

  2. Export credentials.

export AWS_ACCESS_KEY_ID = <access key id>
export AWS_SECRET_ACCESS_KEY = <access key>

If MFA enabled:

export AWS_SESSION_TOKEN = <session token>
  1. Download Hadoop AWS JARs via Maven and set in zingg.conf.

spark.jars=//hadoop-aws-3.1.0.jar, //aws-java-sdk-bundle-1.11.271.jar

Python API - Community

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

schema = "field1 string, field2 string"

inputPipe = CsvPipe("s3Input", "s3a://your-bucket/path/to/input.csv", schema)
args.setData(inputPipe)

outputPipe = CsvPipe("s3Output", "s3a://your-bucket/path/to/output")
args.setOutput(outputPipe)

Python API - Enterprise

right-long

Enterprise uses ECsvPipe. Replace import and class name only - the s3a:// path pattern stays the same.

JSON Config

Supported file formats

Parquet

Avro

JSON

CLI commands

right-long

On Google Cloud Storage, data lives in GCS buckets accessed via the gs:// path format. Use gs://<bucket-name>/<path-to-file> to connect Zingg to your bucket. All formats — CSV, Parquet, JSON, Avro, Delta — are available in both Community and Enterprise.

right-long

Python API - Community

Python API - Enterprise

JSON Config

Setting a Spark checkpoint on GCS

For long-running Zingg jobs on Spark (especially on Dataproc), set a Spark checkpoint directory in GCS so Spark can recover state and manage memory during the entity resolution process:

The checkpoint directory is a Spark feature, not a Zingg-specific configuration. It provides Spark with persistent storage for intermediate computation metadata during multi-stage jobs. Recommended for any large-dataset Zingg run on Dataproc.

Supported file formats on GCS

GCS supports all standard Spark formats. Replace format and the path suffix in the props.

Parquet

JSON

Avro

right-long

For Delta format on GCS, see the Azure Databricks tab — Delta is Enterprise only and works the same way with the path schema swapped to gs://.

right-long

Last updated

Was this helpful?