Skip to main content

etlantic-pyspark

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

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.50.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.50.1-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: etlantic_pyspark-0.50.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.50.1.tar.gz
Algorithm Hash digest
SHA256 554b276870571362e68e8351e9cebd8d81801cea8fdb13491ea9b78fb1f55a3a
MD5 10e4eb60d9baa8af253e683ff06acbbd
BLAKE2b-256 5709599b18f90041bdb58e876d833847d097a87cdaf2521479c116fd7b483562

See more details on using hashes here.

File details

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

File metadata

  • Download URL: etlantic_pyspark-0.50.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.50.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bcb00f808ea70a5a24fcb1d40de1e6fc5c42b614d4a7f0d0ad807a2efc8b446
MD5 c7ad363c3d6a8c4f137837febb531b86
BLAKE2b-256 dc9983040931a9f7fe20ef597b48dfe7f9c45a56cc3db7109565691d5c48273b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.53.0

2 files

0.52.1

2 files

0.52.0

2 files

0.51.0

2 files

This release

0.50.1 This release

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