ci: remove codecov to keep ci green (#17)

1 file changed
tree: 5a544d10d21b072a9f201315bc69cee3a7862517
  1. .github/
  2. crates/
  3. .asf.yaml
  4. .commitlintrc.yaml
  5. .gitignore
  6. .licenserc.yaml
  7. Cargo.toml
  8. LICENSE
  9. Makefile
  10. NOTICE
  11. README.md
  12. rust-toolchain.toml
README.md

hudi-rs

Quick Start

Apache DataFusion

use std::sync::Arc;

use datafusion::error::Result;
use datafusion::prelude::{DataFrame, SessionContext};

use hudi_datafusion::HudiDataSource;

#[tokio::main]
async fn main() -> Result<()> {
    let ctx = SessionContext::new();
    let hudi = HudiDataSource::new("/tmp/trips_table");
    ctx.register_table("trips_table", Arc::new(hudi))?;
    let df: DataFrame = ctx.sql("SELECT * from trips_table where fare > 20.0").await?;
    df.show().await?;
    Ok(())
}