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

Function get_tbl_tpch_table_schema

benchmarks/src/tpch/mod.rs:39–43  ·  view source on GitHub ↗

The `.tbl` file contains a trailing column

(table: &str)

Source from the content-addressed store, hash-verified

37
38/// The `.tbl` file contains a trailing column
39pub fn get_tbl_tpch_table_schema(table: &str) -> Schema {
40 let mut schema = SchemaBuilder::from(get_tpch_table_schema(table).fields);
41 schema.push(Field::new("__placeholder", DataType::Utf8, false));
42 schema.finish()
43}
44
45/// Get the schema for the benchmarks derived from TPC-H
46pub fn get_tpch_table_schema(table: &str) -> Schema {

Callers 1

get_tableMethod · 0.85

Calls 4

newFunction · 0.85
get_tpch_table_schemaFunction · 0.70
pushMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…