pyiceberg-hdfs-native
Provides a pyiceberg.io.FileIO implementation that uses
hdfs-native client.
How to use
Install with uv:
uv tool install --with pyiceberg-hdfs-native pyiceberg
Configure pyiceberg via ~/.pyiceberg.yaml:
default:
uri: https://iceberg.example.com/
py-io-impl: pyiceberg_hdfs_native.HdfsFileIO
Configure hdfs-native:
export HADOOP_CONF_DIR=/opt/hadoop/conf
If using kerberos, run kinit.
Now files command should work:
pyiceberg files db.table
Read iceberg table with polars
uv run --with polars --with pyarrow --with pyiceberg-hdfs-native python
from pyiceberg.catalog import load_catalog
import polars as pl
def read_table(table_name):
catalog = load_catalog(name='default') # will read config from ~/.pyiceberg.yaml
table = catalog.load_table(table_name)
metadata_location = table.metadata_location
storage_options = {'py-io-impl': 'pyiceberg_hdfs_native.HdfsFileIO'}
return pl.scan_iceberg(metadata_location, storage_options=storage_options, reader_override='pyiceberg')
read_table('db.tbl').head().collect()
Metadata
Release files for pyiceberg-hdfs-native 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyiceberg_hdfs_native-0.2.0.tar.gz | 2.8 kB | Without provenance | Details for pyiceberg_hdfs_native-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyiceberg_hdfs_native-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pyiceberg_hdfs_native-0.2.0-py3-none-any.whl |
Total release size: 5.9 kB
Release files / pyiceberg_hdfs_native-0.2.0.tar.gz
| Download URL | pyiceberg_hdfs_native-0.2.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa35e16b65205835a556da137856f46ab86eddf3bd420d99bc1bedbd28cd958d
|
|
BLAKE2b-256 checksum How to use checksums |
795716e72a8d4c839c4522d5c66825725e61b143bbb60a993bc8a4e77b4a834e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / pyiceberg_hdfs_native-0.2.0-py3-none-any.whl
| Download URL | pyiceberg_hdfs_native-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6170984cf6f945d641e5d36fa6e7061696c98f2ecc5e2da717a9863157d46db
|
|
BLAKE2b-256 checksum How to use checksums |
98192bc16d310c99e63375e92ba84fc73274c628c982280aaa865177099bc20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for pyiceberg-hdfs-native 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.