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

Function test_split_conjunction_two

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

Source from the content-addressed store, hash-verified

1620
1621 #[test]
1622 fn test_split_conjunction_two() {
1623 let expr = col("a").eq(lit(5)).and(col("b"));
1624 let expr1 = col("a").eq(lit(5));
1625 let expr2 = col("b");
1626
1627 let result = split_conjunction(&expr);
1628 assert_eq!(result, vec![&expr1, &expr2]);
1629 }
1630
1631 #[test]
1632 fn test_split_conjunction_alias() {

Callers

nothing calls this directly

Calls 5

colFunction · 0.70
litFunction · 0.70
split_conjunctionFunction · 0.70
andMethod · 0.45
eqMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…