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

Install Zingg

Install Zingg on your platform - Community and Enterprise editions across Spark and notebook environments

Zingg runs on Spark (all editions) or Snowflake (Enterprise only). Select your platform from the tabs below. Each tab covers both Community and Enterprise where applicable.

Prerequisites

The following prerequisites apply to local and self-managed Spark installations only. Managed Spark services such as Databricks, Fabric, EMR, and Dataproc handle the Spark runtime for you - you only need to install the Zingg library on those platforms.

  • Java: JDK version 11.0.23 or compatible

  • Spark: version 3.5.2 or compatible

Step 1: Install Zingg Jar on your Spark cluster

The steps for installing a jar on your Spark cluster will vary based on the platform. Please refer to the platform guide or Zingg Platform specific guides for the steps.

Step 2: Install Zingg Python Packages

Community

%pip install zingg

Enterprise

%pip install zinggEC
%pip install zinggES

Install the required tabulate dependency (all editions):

%pip install tabulate

Restart the Python kernel: Runtime → Restart Python.

Verify the installation

%pip show zingg
%pip show zinggEC
%pip show zinggES
right-long

Installing from Release

Download the latest release from GitHub: github.com/zinggAI/zingg/releases

Example for Zingg 0.7.0 on Spark 3.5.2

Prerequisites: Java JDK 11.0.23, Spark 3.5.2

Set up environment variables

Add the following to ~/.bash_aliases (Linux) or ~/.zshrc (macOS):

Also verify that your machine's IP is added to /etc/hosts for localhost. Run ifconfig to find the IP and add it.

Verify your installation

Run bash and print the aliases to confirm they are set correctly:

Then run a sample program to confirm the installation works:

This builds Zingg models and finds duplicates in examples/febrl/test.csv. You will see Zingg logs on the console and output files under /tmp/zinggOutput with matching records sharing the same cluster ID. If you see this, Zingg is correctly installed.

right-long

Enterprise only. Zingg Enterprise on Snowflake uses the Snowflake Container Application package and runs natively inside Snowflake using Snowpark — no Spark cluster required.

Create the connection properties

CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY is the number of seconds between client attempts to update the session token. Valid range: 900 to 3600.

Verify the installation

This will run Zingg febrl example and produce tables named UNIFIED_CUSTOMERS with matching records sharing the same Zingg ID.

Congratulations, Zingg Enterprise for Snowflake is installed.

Last updated

Was this helpful?