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

Function three_column_schema

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

Return a schema with three columns

()

Source from the content-addressed store, hash-verified

598
599 /// Return a schema with three columns
600 fn three_column_schema() -> SchemaRef {
601 Arc::new(Schema::new(vec![
602 Field::new("a", DataType::Int32, false),
603 Field::new("b", DataType::Int32, false),
604 Field::new("c", DataType::Int32, false),
605 ]))
606 }
607
608 /// Return a batch with three columns and three rows
609 fn three_column_batch() -> RecordBatch {

Callers 2

print_emptyFunction · 0.85
three_column_batchFunction · 0.85

Calls 1

newFunction · 0.85

Tested by 1

print_emptyFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…