Module orc_rust::datafusion
source · Expand description
Integration with Apache DataFusion query engine to allow querying ORC files with a SQL/DataFrame API.
§Example usage
let ctx = SessionContext::new();
ctx.register_orc(
"table1",
"/path/to/file.orc",
OrcReadOptions::default(),
)
.await?;
ctx.sql("select a, b from table1")
.await?
.show()
.await?;
Structs§
- Configuration options for reading ORC files.
Traits§
- Exposes new functions for registering ORC tables onto a DataFusion
SessionContext
to enable querying them using the SQL or DataFrame API.