Distributed caching with efficient compute pushdown.
Execute filters and aggregations at cache
Send filtered data to compute
Cache-only format for efficient pushdown operations
First-class support for Parquet
User side change: add a DataFusion physical optimizer rule
#[tokio::main]
pub async fn main() -> Result<()> {
let ctx = SessionContext::new()?;
ctx.register_table(table_name, ...)
.await?;
ctx.sql(&sql).await?.show().await?;
Ok(())
}
#[tokio::main]
pub async fn main() -> Result<()> {
let cache_server = "http://localhost:8080";
let ctx = LiquidCacheBuilder::new(cache_server)
.with_object_store(...)
.with_cache_mode(CacheMode::Liquid)
.build(SessionConfig::from_env()?)?;
ctx.register_table(table_name, ...)
.await?;
ctx.sql(&sql).await?.show().await?;
Ok(())
}