You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fntest(){let sql = "DROP FUNCTION IF EXISTS test_func";let dialect = PostgreSqlDialect{};let ast = Parser::parse_sql(&dialect, sql).unwrap();println!("AST: {:?}", ast);}
The result after the test case is executed:
panicked at 'called `Result::unwrap()` on an `Err` value: ParserError("Expected TABLE, VIEW, INDEX, ROLE, SCHEMA, or SEQUENCE after DROP, found: FUNCTION")', examples/parse_select.rs:23:48
The text was updated successfully, but these errors were encountered:
The result after the test case is executed:
The text was updated successfully, but these errors were encountered: