MCPcopy Create free account
hub / github.com/apache/datafusion / register_tables

Method register_tables

benchmarks/src/sort_pushdown.rs:198–204  ·  view source on GitHub ↗
(&self, ctx: &SessionContext)

Source from the content-addressed store, hash-verified

196 }
197
198 async fn register_tables(&self, ctx: &SessionContext) -> Result<()> {
199 for table in Self::TABLES {
200 let table_provider = self.get_table(ctx, table).await?;
201 ctx.register_table(table, table_provider)?;
202 }
203 Ok(())
204 }
205
206 async fn execute_query(&self, ctx: &SessionContext, sql: &str) -> Result<usize> {
207 let debug = self.common.debug;

Callers 1

benchmark_queryMethod · 0.45

Calls 2

get_tableMethod · 0.45
register_tableMethod · 0.45

Tested by

no test coverage detected