LucaCappelletti94 commented on code in PR #2250:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2250#discussion_r3207482890
##########
tests/sqlparser_postgres.rs:
##########
@@ -7932,6 +7932,73 @@ fn parse_alter_operator_class() {
.is_err());
}
+#[test]
+fn parse_create_and_alter_text_search_failure_cases() {
+ let sql_cases = [
+ "CREATE TEXT SEARCH DICTIONARY alt_ts_dict1 (template=simple)",
+ "CREATE TEXT SEARCH DICTIONARY alt_ts_dict2 (template=simple)",
Review Comment:
I trimmed the regression cases to targeted coverage: one `CREATE` case per
object type, one `ALTER` case per operation kind, plus focused cases for quoted
option keys, optional ALTER option values, permissive ALTER parsing, and
invalid syntax.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]