pub trait TableFunctionImpl:
Debug
+ Sync
+ Send {
// Required method
fn call(
&self,
args: &[Expr],
) -> Result<Arc<dyn TableProvider>, DataFusionError>;
}
Expand description
A trait for table function implementations
Required Methods§
Sourcefn call(&self, args: &[Expr]) -> Result<Arc<dyn TableProvider>, DataFusionError>
fn call(&self, args: &[Expr]) -> Result<Arc<dyn TableProvider>, DataFusionError>
Create a table provider