aharpervc commented on code in PR #1808:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1808#discussion_r2051040245


##########
tests/sqlparser_common.rs:
##########
@@ -15015,3 +15015,8 @@ fn parse_set_time_zone_alias() {
         _ => unreachable!(),
     }
 }
+
+#[test]
+fn parse_return() {
+    all_dialects().verified_stmt("RETURN");

Review Comment:
   > Can we have this check assert the AST?
   
   Done 👍 
   
   > Also we can add another test case that includes a return statement having 
an expression
   
   Done, although this is invalid for SQL Server. I think having that test here 
would also mean we can't have a test that asserts an error when return with 
value is found as a top level statement. Thoughts? 🤔



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to