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

Method with_schema

datafusion/optimizer/tests/optimizer_integration.rs:857–865  ·  view source on GitHub ↗
(mut self, name: impl Into<String>, schema: Schema)

Source from the content-addressed store, hash-verified

855 }
856
857 fn with_schema(mut self, name: impl Into<String>, schema: Schema) -> Self {
858 self.tables.insert(
859 name.into(),
860 Arc::new(MyTableSource {
861 schema: Arc::new(schema),
862 }),
863 );
864 self
865 }
866}
867
868impl ContextProvider for MyContextProvider {

Callers 15

optimize_testFunction · 0.45
optimize_internalMethod · 0.45
optimize_testFunction · 0.45
parse_literalFunction · 0.45
api_basicFunction · 0.45
basic_coercionFunction · 0.45
try_simplifyFunction · 0.45

Calls 3

newFunction · 0.85
insertMethod · 0.45
intoMethod · 0.45

Tested by

no test coverage detected