wugeer commented on code in PR #2346:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2346#discussion_r3287476372
##########
tests/sqlparser_hive.rs:
##########
@@ -562,6 +562,38 @@ fn test_tample_sample() {
hive().verified_stmt("SELECT * FROM source TABLESAMPLE (10 ROWS)");
}
+#[test]
+fn parse_create_table_with_map_column_comment() {
+ let sql = "create table tmp.xxx (kv_map map<string, string> comment 'kv
col comment');";
Review Comment:
<img width="1461" height="181" alt="图片"
src="https://github.com/user-attachments/assets/1a498ee5-27c6-4d10-a7b4-426ee8d56cca"
/>
In hive, the `map<string, string>` and `map(string, string)` are not exactly
the same, is there a need to change the notation from `(` to `<`, for hive
separately?
--
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]