pub trait SessionContextOrcExt {
// Required methods
fn read_orc<P: DataFilePaths + Send>(
&self,
table_paths: P,
options: OrcReadOptions<'_>,
) -> impl Future<Output = Result<DataFrame>> + Send;
fn register_orc(
&self,
name: &str,
table_path: &str,
options: OrcReadOptions<'_>,
) -> impl Future<Output = Result<()>> + Send;
}
Expand description
Exposes new functions for registering ORC tables onto a DataFusion SessionContext
to enable querying them using the SQL or DataFrame API.
Required Methods§
fn read_orc<P: DataFilePaths + Send>( &self, table_paths: P, options: OrcReadOptions<'_>, ) -> impl Future<Output = Result<DataFrame>> + Send
fn register_orc( &self, name: &str, table_path: &str, options: OrcReadOptions<'_>, ) -> impl Future<Output = Result<()>> + Send
Object Safety§
This trait is not object safe.