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

Function test_create_physical_expr

datafusion/core/tests/expr_api/mod.rs:311–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

309
310#[tokio::test]
311async 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]
324fn test_create_physical_expr_nvl2() {

Callers

nothing calls this directly

Calls 3

create_expr_testFunction · 0.85
litFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…