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

Function columns

datafusion/core/src/test/mod.rs:215–217  ·  view source on GitHub ↗

Returns the column names on the schema

(schema: &Schema)

Source from the content-addressed store, hash-verified

213
214/// Returns the column names on the schema
215pub fn columns(schema: &Schema) -> Vec<String> {
216 schema.fields().iter().map(|f| f.name().clone()).collect()
217}
218
219/// Return a new table provider that has a single Int32 column with
220/// values between `seq_start` and `seq_end`

Callers

nothing calls this directly

Calls 6

collectMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
fieldsMethod · 0.45
cloneMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…