Closed
Description
There is a newly added feature my code relies on:
https://www.sqlite.org/stricttables.html
It's a keyword STRICT
that might be present at the end (after closing brace) of CREATE TABLE
, currently parser returns:
ParserError("Expected end of statement, found: STRICT")
to reproduce:
#[test]
fn test_sql_parse() {
let sql = "
CREATE TABLE Fruits (
id TEXT NOT NULL PRIMARY KEY,
) STRICT
";
let dialect = SQLiteDialect {};
let ast = Parser::parse_sql(&dialect, sql).unwrap();
println!("AST: {ast:#?}");
}