papera 0.2.0

A SQL compatibility layer that transpiles Trino and Redshift SQL to DuckDB SQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Errors that can occur during SQL transpilation.
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("SQL parse error: {0}")]
    Parse(#[from] sqlparser::parser::ParserError),

    #[error("Unsupported feature: {0}")]
    Unsupported(String),
}

pub type Result<T> = std::result::Result<T, Error>;