Skip to main content

etlantic-pyspark

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

Note: This plugin and ETLantic core use Beta classifiers 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]"

Portable transform compiler

from etlantic import Profile

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

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. This is the recommended transformation path and remains eligible for adaptive execution. Automatic Python/Pandas UDF fallback is forbidden.

Native Spark plugin

Register @Transformation.implementation("pyspark") handlers only for Spark behavior outside the portable compiler's claims. They take Spark DataFrames (or lists of contract models), return Spark DataFrames, pin the step to PySpark, and are not eligible for adaptive execution.

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)

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

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.52.1.tar.gz (22.5 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.52.1-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: etlantic_pyspark-0.52.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.52.1.tar.gz
Algorithm Hash digest
SHA256 7b213c2f6ba4a9e3574eaf264f0e8ba26a2e0898357ee3d25d76f6d832d00ac6
MD5 9f4b97c5db9454a9aa097af01807d4b0
BLAKE2b-256 522cd445d5a31e6a7e49b4a07854cb7c8407f4436fe8c4d4ad6fb30f4ffd99c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: etlantic_pyspark-0.52.1-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","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.52.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df2119d4f1649b4cf9448028cd51e2d8e3c6291438667d74868cea0b7e0cab46
MD5 cb869ca294098ca2b90d35afb13a471d
BLAKE2b-256 4a2efa17ea7cb7310ab7e9b6d63e2d0bc73bd92443e7b15287d4a0eef9000a3b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.53.0

2 files

This release

0.52.1 This release

2 files

0.52.0

2 files

0.51.0

2 files

0.50.1

2 files

0.50.0

2 files

0.49.0

2 files

0.48.0

2 files

0.47.0

2 files

0.46.0

2 files

0.45.0

2 files

0.44.0

2 files

0.43.0

2 files

0.42.0

2 files

0.41.0

2 files

0.40.0

2 files

0.39.0

2 files

0.38.0

2 files

0.37.0

2 files

0.36.0

2 files

0.35.0

2 files

0.34.0

2 files

0.33.0

2 files

0.32.0

2 files

0.31.0

2 files

0.30.0

2 files

0.29.0

2 files

0.27.0

2 files

0.26.0

2 files

0.25.0

2 files

0.24.0

2 files

0.23.0

2 files

0.22.0

2 files

0.21.0

2 files

0.20.0

2 files

0.19.0

2 files

0.18.0

2 files

0.17.0

2 files

0.16.0

2 files

0.14.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page