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

Function prune_bool_const_expr

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

Source from the content-addressed store, hash-verified

3875
3876 #[test]
3877 fn prune_bool_const_expr() {
3878 let (schema, statistics, _, _) = bool_setup();
3879
3880 prune_with_expr(
3881 // true
3882 lit(true),
3883 &schema,
3884 &statistics,
3885 &[true, true, true, true, true],
3886 );
3887
3888 prune_with_expr(
3889 // false
3890 lit(false),
3891 &schema,
3892 &statistics,
3893 &[false, false, false, false, false],
3894 );
3895 }
3896
3897 #[test]
3898 fn prune_bool_column() {

Callers

nothing calls this directly

Calls 3

bool_setupFunction · 0.85
prune_with_exprFunction · 0.85
litFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…