Deserialize a PhysicalPlan from bytes
(
bytes: &[u8],
ctx: &TaskContext,
)
| 242 | |
| 243 | /// Deserialize a PhysicalPlan from bytes |
| 244 | pub fn physical_plan_from_bytes( |
| 245 | bytes: &[u8], |
| 246 | ctx: &TaskContext, |
| 247 | ) -> Result<Arc<dyn ExecutionPlan>> { |
| 248 | let extension_codec = DefaultPhysicalExtensionCodec {}; |
| 249 | let proto_converter = DefaultPhysicalProtoConverter {}; |
| 250 | physical_plan_from_bytes_with_proto_converter( |
| 251 | bytes, |
| 252 | ctx, |
| 253 | &extension_codec, |
| 254 | &proto_converter, |
| 255 | ) |
| 256 | } |
| 257 | |
| 258 | /// Deserialize a PhysicalPlan from bytes |
| 259 | pub fn physical_plan_from_bytes_with_extension_codec( |
searching dependent graphs…