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

Function test_split_binary_owned_different_op

datafusion/expr/src/utils.rs:1663–1670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1661
1662 #[test]
1663 fn test_split_binary_owned_different_op() {
1664 let expr = col("a").eq(lit(5)).or(col("b"));
1665 assert_eq!(
1666 // expr is connected by OR, but pass in AND
1667 split_binary_owned(expr.clone(), Operator::And),
1668 vec![expr]
1669 );
1670 }
1671
1672 #[test]
1673 fn test_split_conjunction_owned() {

Callers

nothing calls this directly

Calls 4

colFunction · 0.70
litFunction · 0.70
orMethod · 0.45
eqMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…