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

Function logical_plan_to_bytes

datafusion/proto/src/bytes/mod.rs:111–114  ·  view source on GitHub ↗

Serialize a LogicalPlan as bytes

(plan: &LogicalPlan)

Source from the content-addressed store, hash-verified

109
110/// Serialize a LogicalPlan as bytes
111pub fn logical_plan_to_bytes(plan: &LogicalPlan) -> Result<Bytes> {
112 let extension_codec = DefaultLogicalExtensionCodec {};
113 logical_plan_to_bytes_with_extension_codec(plan, &extension_codec)
114}
115
116/// Serialize a LogicalPlan as JSON
117#[cfg(feature = "json")]

Used in the wild real call sites across dependent graphs

searching dependent graphs…