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

Function test_schema

datafusion/core/tests/dataframe/dataframe_functions.rs:39–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37use insta::assert_snapshot;
38
39fn test_schema() -> SchemaRef {
40 Arc::new(Schema::new(vec![
41 Field::new("a", DataType::Utf8, false),
42 Field::new("b", DataType::Int32, false),
43 Field::new("l", DataType::new_list(DataType::Int32, true), true),
44 ]))
45}
46
47async fn create_test_table() -> Result<DataFrame> {
48 let schema = test_schema();

Callers 2

create_test_tableFunction · 0.70
test_fn_decodeFunction · 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…