Skip to content

Conversation

@yoavcloud
Copy link
Contributor

No description provided.

Comment on lines 19314 to 19320

#[test]
fn test_key_value_options_trailing_semicolon() {
let sql = "CREATE USER u1 option1 = 'value1' option2 = 'value2';";
let ast = Parser::parse_sql(&GenericDialect, sql);
assert!(ast.is_ok());
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have it as a test case in sqlparser_common.rs? also if the test case can cover all applicable dialects

@yoavcloud yoavcloud force-pushed the kv_options_trailing_semicolon branch from 23dc580 to 0814850 Compare January 9, 2026 11:38
@yoavcloud yoavcloud added this pull request to the merge queue Jan 9, 2026
Merged via the queue into apache:main with commit d4fb5c3 Jan 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants