Skip to main content

PySpark reference execution plugin for ETLantic.

Project description

etlantic-pyspark

PySpark reference execution plugin and portable transform compiler for ETLantic 0.34.

Note: PyPI Production/Stable classifiers describe this plugin package’s release channel. Core ETLantic 0.34 remains Beta for documented single-tenant pilots — classifiers are not an enterprise SLA.

Install

pip install etlantic-pyspark
# Optional Delta Lake support:
pip install "etlantic-pyspark[delta]"

Native Spark plugin

from etlantic import Profile

Profile(name="spark-local", spark_engine="pyspark")

Register @Transformation.implementation("pyspark") handlers that take Spark DataFrames (or lists of contract models) and return Spark DataFrames.

Native capabilities

  • Lazy Spark region fusion with preserved logical identities
  • Local Spark provider (local[*]) — secrets resolved only at session acquire
  • Native-expression preference with UDF policy diagnostics
  • Contract ↔ Spark schema mapping (lossy/unknown never guessed)
  • Valid/invalid row separation
  • Delta-compatible write intents (append/overwrite/merge) when Delta is enabled
  • Structured Streaming foundation (experimental)

Portable transform compiler

Entry point: etlantic.transform_compilersetlantic_pyspark:create_transform_compiler.

Claims portable-relational-kernel/1 and portable-relational/1. Lowers dtcs.transform-plan/2 to native Spark DataFrame/Column expressions. Automatic Python/Pandas UDF fallback is forbidden on the portable path (native UDF policy stays separate). Default CI uses sparkless; set SPARKLESS_TEST_MODE=pyspark for real JVM Catalyst checks.

Not included: managed cloud providers (Databricks/EMR/Connect).

Links

PySpark tutorial · Compatibility · Source · Issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

etlantic_pyspark-0.34.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

etlantic_pyspark-0.34.0-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file etlantic_pyspark-0.34.0.tar.gz.

File metadata

  • Download URL: etlantic_pyspark-0.34.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for etlantic_pyspark-0.34.0.tar.gz
Algorithm Hash digest
SHA256 fac4000573ea90a861ba7777882234f903728b4366af46eced31cbad95719a57
MD5 c859a4b797c810dd938f9cdf74b03c3d
BLAKE2b-256 3183fbb3f08b8b4b2689cf995bc3f486bb0cd56f0cf16bd27801a6269bc2af7f

See more details on using hashes here.

File details

Details for the file etlantic_pyspark-0.34.0-py3-none-any.whl.

File metadata

  • Download URL: etlantic_pyspark-0.34.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for etlantic_pyspark-0.34.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f36b34808b56e6718c8f48e4e2fc716ba273bafed64711a55dc11b02e29bca7
MD5 3cbc30ce669340066f527f33453af61d
BLAKE2b-256 bf953eb20ab6cd3f964c41cd067d404af5a14fc964d6017d520a888a6b13e1c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page