Open ozkatz opened 6 months ago
Hi @ozkatz, I am one of the maintainers at delta-rs. I am also looking at using LakeFS in azure with Polars and delta-rs :), so I am wondering how you currently even would be able to use lakefs with polars and azure as you say we don't support the lakefs::// uri.
Also supporting that lakefs:// uri likely requires that to be added upstream in the object_store
crate which we use in delta-rs.
Hi @ion-elgreco, Thanks for the added context!
I'm no expert in Rust but from the looks of it, implementing the ObjectStore
trait should be enough and doesn't necessarily require upstreaming that implementation into the object_store crate, is that correct?
That's true, perhaps you can create a lakefs_store crate which we then can use as dependency to add a deltalake-lakefs crate
Loading a Delta table using delta-rs's Python bindings from a
lakefs://
URI currently fails:It appears that Delta-rs doesn't recognize the URI schema the same way it would for s3, adls and gcs, and defaults to assuming this is a local directory path.
Additionally, Polars'
polars.read_delta()
depends on Delta-rs, so polars + Delta is also broken:The only workaround at the moment is to use the S3 gateway, which means data has to go through the lakeFS server (which in some cases is not possible due to security).