()
| 1630 | |
| 1631 | #[test] |
| 1632 | fn test_split_conjunction_alias() { |
| 1633 | let expr = col("a").eq(lit(5)).and(col("b").alias("the_alias")); |
| 1634 | let expr1 = col("a").eq(lit(5)); |
| 1635 | let expr2 = col("b"); // has no alias |
| 1636 | |
| 1637 | let result = split_conjunction(&expr); |
| 1638 | assert_eq!(result, vec![&expr1, &expr2]); |
| 1639 | } |
| 1640 | |
| 1641 | #[test] |
| 1642 | fn test_split_conjunction_or() { |