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

Function roundtrip_expr

datafusion/proto/tests/cases/serialize.rs:103–106  ·  view source on GitHub ↗
(expr: &Expr)

Source from the content-addressed store, hash-verified

101}
102
103fn roundtrip_expr(expr: &Expr) -> Expr {
104 let bytes = expr.to_bytes().unwrap();
105 Expr::from_bytes(&bytes).unwrap()
106}
107
108#[test]
109fn exact_roundtrip_linearized_binary_expr() {

Callers

nothing calls this directly

Calls 1

to_bytesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…