kfirSatori commented on code in PR #2375:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2375#discussion_r3683153067


##########
tests/sqlparser_redshift.rs:
##########
@@ -542,3 +542,10 @@ fn test_partiql_from_alias_with_at_index() {
         _ => panic!("expected table factor"),
     }
 }
+
+#[test]
+fn parse_unpivot_expression() {
+    redshift().verified_stmt("SELECT t.id, k, v FROM test_colors AS t, UNPIVOT 
t.count_by_color AS v AT k",);
+    redshift().verified_stmt("SELECT t.id, k, v FROM test_colors AS t, UNPIVOT 
t AS v AT k");

Review Comment:
   @iffyio done.



-- 
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]

Reply via email to