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

Function one_column_schema

datafusion-cli/src/print_format.rs:622–624  ·  view source on GitHub ↗

Return a schema with one column

()

Source from the content-addressed store, hash-verified

620
621 /// Return a schema with one column
622 fn one_column_schema() -> SchemaRef {
623 Arc::new(Schema::new(vec![Field::new("a", DataType::Int32, false)]))
624 }
625
626 /// return a batch with one column and three rows
627 fn one_column_batch() -> RecordBatch {

Callers 3

print_maxrows_unlimitedFunction · 0.85
one_column_batchFunction · 0.85

Calls 1

newFunction · 0.85

Tested by 2

print_maxrows_unlimitedFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…