Go to file
R Tyler Croy af9540198f
On second thought pass through the DeltaTable and use that as truth for the table schema
This does not yet handle schema evolution
2023-01-04 21:09:46 -08:00
demo-tables/wx Add a modicum of documentation to make this work 2023-01-04 20:55:16 -08:00
src On second thought pass through the DeltaTable and use that as truth for the table schema 2023-01-04 21:09:46 -08:00
.gitignore Initial commit from cargo new 2023-01-01 15:21:41 -08:00
Cargo.toml Commit the working implementation (pre-refactor) of the writer 2023-01-04 20:46:35 -08:00
LICENSE Initial commit from cargo new 2023-01-01 15:21:41 -08:00
README.adoc Add a modicum of documentation to make this work 2023-01-04 20:55:16 -08:00

README.adoc

<html lang="en"> <head> </head>

Rust RecordBatch Writer Demo

This repository contains a simple open source bit of example code for writing rows in a Delta table with the Delta Rust bindings.

You can run this code with:

TABLE_URI=demo-tables/wx cargo run

This will write five data points to the delta table stored in the wx directory. You can query this with the deltalake Python module, for example:

from deltalake import DeltaTable
dt = DeltaTable('demo-tables/wx')
df = dt.to_pandas()
df.query('temp > 0')
</html>