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

Function schema_name_from_exprs_inner

datafusion/expr/src/expr.rs:3450–3460  ·  view source on GitHub ↗
(exprs: &[Expr], sep: &str)

Source from the content-addressed store, hash-verified

3448}
3449
3450fn schema_name_from_exprs_inner(exprs: &[Expr], sep: &str) -> Result<String, fmt::Error> {
3451 let mut s = String::new();
3452 for (i, e) in exprs.iter().enumerate() {
3453 if i > 0 {
3454 write!(&mut s, "{sep}")?;
3455 }
3456 write!(&mut s, "{}", SchemaDisplay(e))?;
3457 }
3458
3459 Ok(s)
3460}
3461
3462pub fn schema_name_from_sorts(sorts: &[Sort]) -> Result<String, fmt::Error> {
3463 let mut s = String::new();

Calls 2

newFunction · 0.85
iterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…