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

Function get_schema

datafusion-examples/examples/sql_ops/query.rs:97–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97fn get_schema() -> SchemaRef {
98 SchemaRef::new(Schema::new(vec![
99 Field::new("id", DataType::UInt8, false),
100 Field::new("bank_account", DataType::UInt64, true),
101 ]))
102}
103
104/// The simplest way to query parquet files is to use the
105/// [`SessionContext::read_parquet`] API

Callers 2

create_memtableFunction · 0.70
create_record_batchFunction · 0.70

Calls 1

newFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…