Skip to main content

Native Polars I/O plugin for Delta Lake, backed by delta-kernel-rs.

Project description

polars-deltalake

Native Polars I/O plugin for Delta Lake, backed by delta-kernel-rs.

import polars as pl
from polars_deltalake import scan_delta

lf = scan_delta("s3://bucket/path/to/table")
df = lf.filter(pl.col("region") == "eu").select("id", "value").collect()

The plugin pushes projection, slice (n_rows), and predicate filters into the kernel scan. Predicates that don't map to a kernel-supported shape fall back to Polars-side filtering after the scan.

scan_cdf streams a Delta table's Change Data Feed as a LazyFrame between two commit versions:

from polars_deltalake import scan_cdf

lf = scan_cdf("s3://bucket/path/to/table", start_version=10, end_version=20)
df = lf.filter(pl.col("_change_type") == "update_postimage").collect()

Output rows carry the table's columns plus _change_type, _commit_version, and _commit_timestamp. Requires delta.enableChangeDataFeed = true on the table.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

polars_deltalake-1.2.0-cp310-abi3-win_amd64.whl (22.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_x86_64.whl (20.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_aarch64.whl (19.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (18.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

polars_deltalake-1.2.0-cp310-abi3-macosx_11_0_arm64.whl (18.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

polars_deltalake-1.2.0-cp310-abi3-macosx_10_13_x86_64.whl (20.1 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 868cfbbfd413c89fcc63af8d0df936f5505801e1eb7b3a3d24d7972f46413f85
MD5 f15c24806dafee95722b1a63ebcd425e
BLAKE2b-256 3e59908bb2bf51baaab0c33769ec5b84fc41e9e6ea94461600c1cdcc0ac032ff

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3ec31702370bde72f9e6739c9d2d048a909f1b9d1489027c49d0afa2a9af6b21
MD5 00451369a9f83325f8fc74f94584bcb0
BLAKE2b-256 9eca4f2ea5693e93154701a7eca2cf0d1cc4ff1542fd8333df1d52e1f00903ea

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 53857f385352282927c119d80670a547b3e2db4a1c31e02fd757ed093cc1c55c
MD5 8cabb59957bec1303048d467df6b32b3
BLAKE2b-256 9b87b9461a28716ef4d45ac7070f485d9e013981ece0b9d5dd4003c46057f73f

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 73d3e0418ecf052ce2d29e47a4ccd376f29d9d4cb7bfe189579477f1ef7cc230
MD5 1d26fc36378a078cdab2bcd54863ac64
BLAKE2b-256 3db5ebc75948531414ebacb328de3faf41e0d8a9e10a5c355540df4660e61119

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5dc6cf0091eecc1c184fcccd1cdd221dcceb259594c144aa0e94ecbc12f9bf80
MD5 96498fb1453ed773fa8d89d8ca4459b6
BLAKE2b-256 9c13af882ae0d59c73e7cf8a41404aaf6cf7ae6be84c4454ab694897ab3f14e4

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4c38ac5919cee7fbceabaf8021cac9d1174c1568c8c417f9b8a8ad4cfe25ca6
MD5 3e1ce159b32af98166f2d17b365b992b
BLAKE2b-256 fa4052ecbbd5a347a355cfcab9c599dbf3e6bf313a117f6c9d8ea5dd6913b635

See more details on using hashes here.

File details

Details for the file polars_deltalake-1.2.0-cp310-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for polars_deltalake-1.2.0-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f4d43505ff737b8ddd7d1d28bae6ab72ae004f7dd15a3cfb7695a584734178fb
MD5 baf59361b3efdd623f16531a6fb3a1f6
BLAKE2b-256 245a5eaafff47c48e662fe62b592c7bb292074b839ffe5dec2734cb0ff1fa044

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