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

Function logical_plan_from_bytes

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

Deserialize a LogicalPlan from bytes

(bytes: &[u8], ctx: &TaskContext)

Source from the content-addressed store, hash-verified

156
157/// Deserialize a LogicalPlan from bytes
158pub fn logical_plan_from_bytes(bytes: &[u8], ctx: &TaskContext) -> Result<LogicalPlan> {
159 let extension_codec = DefaultLogicalExtensionCodec {};
160 logical_plan_from_bytes_with_extension_codec(bytes, ctx, &extension_codec)
161}
162
163/// Deserialize a LogicalPlan from bytes
164pub fn logical_plan_from_bytes_with_extension_codec(

Used in the wild real call sites across dependent graphs

searching dependent graphs…