osipovartem commented on code in PR #2489:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2489#discussion_r4003887482


##########
tests/sqlparser_snowflake.rs:
##########
@@ -4912,3 +4912,35 @@ fn test_select_dollar_column_from_stage() {
     // With table function args, without alias
     snowflake().verified_stmt("SELECT $1, $2 FROM @mystage1(file_format => 
'myformat')");
 }
+#[test]
+fn test_structured_object_type() {

Review Comment:
   Added an explicit `test_plain_object_type` in 0d58c186. It verifies both 
Snowflake and Generic dialect parsing and asserts that plain `OBJECT` remains 
`DataType::Custom("OBJECT", [])`, while `OBJECT(...)` uses the new structured 
representation. `cargo test --all-targets` and `cargo clippy --all-targets 
--all-features -- -D warnings` pass locally.



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