Deserializes a plan from the bytes.
(proto_bytes: Vec<u8>)
| 75 | |
| 76 | /// Deserializes a plan from the bytes. |
| 77 | pub async fn deserialize_bytes(proto_bytes: Vec<u8>) -> Result<Box<Plan>> { |
| 78 | Ok(Box::new(Message::decode(&*proto_bytes).map_err(|e| { |
| 79 | DataFusionError::Substrait(format!("Failed to decode plan: {e}")) |
| 80 | })?)) |
| 81 | } |
no test coverage detected
searching dependent graphs…