proof_of_sql/sql/logical_plans/
error.rs

1use snafu::Snafu;
2
3/// Errors encountered during the process of converting `sqlparser::ast::Statement` to `LogicalPlan`
4#[derive(Debug, Snafu)]
5pub enum LogicalPlanError {
6    #[snafu(display("Unsupported binary operator: {:?}", op))]
7    /// Used when a binary operator is not supported
8    UnsupportedBinaryOperator {
9        /// The unsupported binary operator
10        op: sqlparser::ast::BinaryOperator,
11    },
12}