pub async fn serialize_bytes(sql: &str, ctx: &SessionContext) -> Result<Vec<u8>>
Plans a sql and serializes the generated logical plan to bytes.