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

Function test_eq_with_coercion

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

Source from the content-addressed store, hash-verified

74
75#[test]
76fn test_eq_with_coercion() {
77 // id = 2 (need to coerce the 2 to '2' to evaluate)
78 evaluate_expr_test(
79 col("id").eq(lit(2i32)),
80 vec![
81 "+-------+",
82 "| expr |",
83 "+-------+",
84 "| false |",
85 "| true |",
86 "| false |",
87 "+-------+",
88 ],
89 );
90}
91
92#[test]
93fn test_get_field() {

Callers

nothing calls this directly

Calls 4

evaluate_expr_testFunction · 0.85
colFunction · 0.50
litFunction · 0.50
eqMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…