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

Function schema

datafusion-examples/src/utils/datasets/regex.rs:23–30  ·  view source on GitHub ↗

Schema for the `data/csv/regex.csv` example dataset.

()

Source from the content-addressed store, hash-verified

21
22/// Schema for the `data/csv/regex.csv` example dataset.
23pub fn schema() -> Arc<Schema> {
24 Arc::new(Schema::new(vec![
25 Field::new("values", DataType::Utf8, false),
26 Field::new("patterns", DataType::Utf8, false),
27 Field::new("replacement", DataType::Utf8, false),
28 Field::new("flags", DataType::Utf8, true),
29 ]))
30}

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…