Serialize a PhysicalPlan as bytes
(plan: Arc<dyn ExecutionPlan>)
| 185 | |
| 186 | /// Serialize a PhysicalPlan as bytes |
| 187 | pub fn physical_plan_to_bytes(plan: Arc<dyn ExecutionPlan>) -> Result<Bytes> { |
| 188 | let extension_codec = DefaultPhysicalExtensionCodec {}; |
| 189 | let proto_converter = DefaultPhysicalProtoConverter {}; |
| 190 | physical_plan_to_bytes_with_proto_converter(plan, &extension_codec, &proto_converter) |
| 191 | } |
| 192 | |
| 193 | /// Serialize a PhysicalPlan as JSON |
| 194 | #[cfg(feature = "json")] |
searching dependent graphs…