()
| 309 | |
| 310 | #[tokio::test] |
| 311 | async fn test_create_physical_expr() { |
| 312 | // create_physical_expr does not simplify the expression |
| 313 | // 1 + 1 |
| 314 | create_expr_test(lit(1i32) + lit(2i32), "1 + 2"); |
| 315 | // However, you can run the simplifier before creating the physical |
| 316 | // expression. This mimics what delta.rs and other non-sql libraries do to |
| 317 | // create predicates |
| 318 | // |
| 319 | // 1 + 1 |
| 320 | create_simplified_expr_test(lit(1i32) + lit(2i32), "3"); |
| 321 | } |
| 322 | |
| 323 | #[test] |
| 324 | fn test_create_physical_expr_nvl2() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…