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

Function test_nested_get_field

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

Source from the content-addressed store, hash-verified

122
123#[test]
124fn test_nested_get_field() {
125 evaluate_expr_test(
126 col("props")
127 .field("a")
128 .eq(lit("2021-02-02"))
129 .or(col("id").eq(lit(1))),
130 vec![
131 "+-------+",
132 "| expr |",
133 "+-------+",
134 "| true |",
135 "| true |",
136 "| false |",
137 "+-------+",
138 ],
139 );
140}
141
142#[test]
143fn test_list_index() {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…