Cover quoted window names after `OVER`
diff --git a/tests/sqlparser_sqlite.rs b/tests/sqlparser_sqlite.rs index 7b4103f..eaadea2 100644 --- a/tests/sqlparser_sqlite.rs +++ b/tests/sqlparser_sqlite.rs
@@ -1212,6 +1212,9 @@ sqlite().verified_stmt("SELECT f() OVER partition"); // Window function syntax still works when OVER is followed by `(`. sqlite().verified_stmt("SELECT f() OVER ()"); + // A quoted string names the window, so OVER cannot be an alias for it + sqlite().verified_stmt("SELECT f() OVER 'partition'"); + sqlite().verified_stmt(r#"SELECT f() OVER "partition""#); // Other dialects keep the greedy OVER parse and reject the bare form. let generic = TestedDialects::new(vec![Box::new(GenericDialect {})]); assert_eq!(