MCPcopy Create free account
hub / github.com/apache/paimon-rust / test_fields

Function test_fields

crates/paimon/src/spec/predicate.rs:933–944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931 use crate::spec::types::*;
932
933 fn test_fields() -> Vec<DataField> {
934 vec![
935 DataField::new(0, "id".to_string(), DataType::Int(IntType::new())),
936 DataField::new(
937 1,
938 "name".to_string(),
939 DataType::VarChar(VarCharType::default()),
940 ),
941 DataField::new(2, "dt".to_string(), DataType::Date(DateType::new())),
942 DataField::new(3, "hr".to_string(), DataType::Int(IntType::new())),
943 ]
944 }
945
946 // ======================== PredicateBuilder basics ========================
947

Callers 15

test_builder_equalFunction · 0.70
test_builder_null_opsFunction · 0.70
test_builder_in_opsFunction · 0.70
test_and_singleFunction · 0.70
test_and_flattensFunction · 0.70
test_or_singleFunction · 0.70
test_or_flattensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected