Struct datafusion::test_util::TestTableFactory
source · pub struct TestTableFactory {}
Expand description
TableFactory for tests
Trait Implementations§
source§impl TableProviderFactory for TestTableFactory
impl TableProviderFactory for TestTableFactory
source§fn create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_: &'life1 SessionState,
cmd: &'life2 CreateExternalTable
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn TableProvider>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_: &'life1 SessionState,
cmd: &'life2 CreateExternalTable
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn TableProvider>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create a TableProvider with the given url