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

Connect Exasol

Connect Zingg to Exasol using the Exasol Spark connector. Available in all editions.

Prerequisites

  1. Download the Exasol Spark connector assembled JAR (look for -assembly suffix).

github.com/exasol/spark-connector/releases

  1. Add to zingg.conf.

spark.jars = spark - connector_2 .12 - 1.3.0 - spark - 3.3.2 - assembly.jar

Python API

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

exasolInput = Pipe("input", "com.exasol.spark")
exasolInput.addProperty("host", "10.11.0.2")
exasolInput.addProperty("port", "8563")
exasolInput.addProperty("username", "sys")
exasolInput.addProperty("password", "exasol")
exasolInput.addProperty("query", "SELECT * FROM DB_SCHEMA.CUSTOMERS")
args.setData(exasolInput)

exasolOutput = Pipe("output", "com.exasol.spark")
exasolOutput.addProperty("host", "10.11.0.2")
exasolOutput.addProperty("port", "8563")
exasolOutput.addProperty("username", "sys")
exasolOutput.addProperty("password", "exasol")
exasolOutput.addProperty("create_table", "true")
exasolOutput.addProperty("table", "DB_SCHEMA.ENTITY_RESOLUTION")
args.setOutput(exasolOutput)

JSON Config

right-long

Last updated

Was this helpful?