pub fn try_new(
        table_desc: &HBeeTableDesc,
        sql: String,
        source: String,
    ) -> Result<Self> {
        let proto_plan = proto_serde::serialize_hbee(table_desc, sql, source);

        let mut buf = vec![];
        proto_plan
            .encode(&mut buf)
            .map_err(|_| internal_err!("Could convert proto to bytes"))?;

        Ok(Self {
            bytes: base64::encode(&buf),
        })
    }
/// Serialize and encode the given logical plan
Serialize and encode the given logical plan
Serialize and encode the given logical plan
pub fn try_new(
        table_desc: &HBeeTableDesc,
        sql: String,
        source: String,
    ) -> Result<Self> {
        let proto_plan = proto_serde::serialize_hbee(table_desc, sql, source);
        let mut buf = vec![];
        proto_plan
            .encode(&mut buf)
            .map_err(|_| internal_err!("Could convert proto to bytes"))?;
        Ok(Self {
            bytes: base64::encode(&buf),
        })
    }
pub fn try_new ( table_desc : & HBeeTableDesc , sql : String , source : String , ) -> Result < Self > { let proto_plan = proto_serde :: serialize_hbee ( table_desc , sql , source ) ; let mut buf = vec ! [ ] ; proto_plan . encode ( & mut buf ) . map_err ( | _ | internal_err ! ( " " ) ) ? ; Ok ( Self { bytes : base64 :: encode ( & buf ) , } ) }
Serialize and encode the given logical plan
Serialize and encode the given logical plan
table_desc
&HBeeTableDesc
sql
String
source
String
table_desc
&HBeeTableDesc
sql
String
source
String