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

Function col

datafusion/datasource/src/test_util.rs:131–133  ·  view source on GitHub ↗

Create a column expression

(name: &str, schema: &Schema)

Source from the content-addressed store, hash-verified

129
130/// Create a column expression
131pub(crate) fn col(name: &str, schema: &Schema) -> Result<Arc<dyn PhysicalExpr>> {
132 Ok(Arc::new(Column::new_with_schema(name, schema)?))
133}

Calls 1

newFunction · 0.85

Tested by

no test coverage detected