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

Function row_group_predicate_not

datafusion/pruning/src/pruning_predicate.rs:2906–2916  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2904
2905 #[test]
2906 fn row_group_predicate_not() -> Result<()> {
2907 let schema = Schema::new(vec![Field::new("c1", DataType::Int32, false)]);
2908 let expected_expr = "true";
2909
2910 let expr = col("c1").not();
2911 let predicate_expr =
2912 test_build_predicate_expression(&expr, &schema, &mut RequiredColumns::new());
2913 assert_eq!(predicate_expr.to_string(), expected_expr);
2914
2915 Ok(())
2916 }
2917
2918 #[test]
2919 fn row_group_predicate_not_bool() -> Result<()> {

Callers

nothing calls this directly

Calls 4

newFunction · 0.85
colFunction · 0.50
notMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…