isaacparker0 commented on code in PR #2168:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2168#discussion_r2750486616
##########
tests/sqlparser_common.rs:
##########
@@ -17376,6 +17302,11 @@ fn test_parse_not_null_in_column_options() {
);
}
+#[test]
+fn test_parse_default_expr_with_operators() {
+ all_dialects().verified_stmt("CREATE TABLE t (c INT DEFAULT (1 + 2) + 3)");
+}
Review Comment:
Also added a common test case here, as I realized this is the more
fundamental regression fixed by my proposed change (not only the
postgres-specific `::` cast).
--
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]