iffyio commented on code in PR #2303:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2303#discussion_r3099000458
##########
tests/sqlparser_redshift.rs:
##########
@@ -517,3 +517,27 @@ fn
test_null_treatment_inside_and_outside_window_function() {
redshift().verified_stmt("SELECT FIRST_VALUE(1 IGNORE NULLS) OVER () FROM
(SELECT 1) t");
redshift().verified_stmt("SELECT FIRST_VALUE(1) IGNORE NULLS OVER () FROM
(SELECT 1) t");
}
+
+#[test]
+fn test_partiql_from_alias_with_at_index() {
+ redshift().verified_stmt("SELECT * FROM lineitem AS l (a, b, c) AT idx");
Review Comment:
for the test can we switch to `all_dialect_where(|d| d.supports_partiql())`
so that future dialects are covered without duplicating tests?
--
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]