isaacparker0 commented on code in PR #2168:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2168#discussion_r2747220335


##########
tests/sqlparser_postgres.rs:
##########
@@ -512,6 +512,12 @@ fn parse_create_table_with_defaults() {
     }
 }
 
+#[test]
+fn parse_default_expr_parenthesized_then_cast() {
+    // Infix operators like :: after parenthesized expression in DEFAULT
+    pg().verified_stmt("CREATE TABLE t (c TEXT DEFAULT (foo())::TEXT)");

Review Comment:
   Added a separate case for this.



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