datafusion-delta-sharing

Crates.iodatafusion-delta-sharing
lib.rsdatafusion-delta-sharing
version0.1.0
sourcesrc
created_at2024-02-04 20:42:31.424297
updated_at2024-02-04 20:42:31.424297
descriptionDelta Sharing integaration for DataFusion
homepage
repositoryhttps://github.com/tdikland/datafusion-delta-sharing
max_upload_size
id1126642
size235,168
Tim Dikland (tdikland)

documentation

README

DataFusion Delta Sharing

This create provides the integration between Delta Sharing and DataFusion.

Delta Sharing is an open protocol for securely sharing large datasets. It is a REST protocol that securely provides access to a part of a cloud dataset stored on popular cloud storage systems like S3, ADLS, and GCS.

Maintenance main crates-io api-docs

Installation

The crate can be installed using cargo:

cargo add datafusion-delta-sharing

Example

An example of the integration is shown below:

use std::sync::Arc;
use datafusion::prelude::*;

use datafusion_delta_sharing::DeltaSharingTable;

let ctx = SessionContext::new();
let table = DeltaSharingTable::try_from_str("./path/to/profile.share#share.schema.table").await?;

ctx.register_table("demo", Arc::new(table))?;
ctx.sql("select * from demo").await?.show().await?;
Commit count: 0

cargo fmt