lukapeschke opened a new issue, #1992: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1992
When using `PostgreSqlDialect`, the question mark cannot be parsed if it is not followed by a space, whereas postgres accepts the query. The following code panics when parsing `broken`: ```rust fn main() { let broken = r#"SELECT user?'adress' FROM my_table"#; let working = r#"SELECT user? 'adress' FROM my_table"#; let working_parsed = sqlparser::parser::Parser::parse_sql(&sqlparser::dialect::PostgreSqlDialect {}, working) .expect("Failed to parse SQL query"); println!("{:?}", working_parsed); let broken_parsed = sqlparser::parser::Parser::parse_sql(&sqlparser::dialect::PostgreSqlDialect {}, broken) .expect("Failed to parse SQL query"); println!("{:?}", broken_parsed); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org