morrySnow commented on code in PR #49419:
URL: https://github.com/apache/doris/pull/49419#discussion_r2011270026
##########
regression-test/suites/nereids_syntax_p0/any_value.groovy:
##########
@@ -26,4 +26,35 @@ suite("any_value") {
qt_sql_max """select max(cast(concat(number, ":00:00") as time)) from
numbers("number" = "100");"""
qt_sql_min """select min(cast(concat(number, ":00:00") as time)) from
numbers("number" = "100");"""
sql """select any(cast(concat(number, ":00:00") as time)) from
numbers("number" = "100");"""
+
+ sql """DROP TABLE IF EXISTS any_test"""
+ sql """
+ CREATE TABLE `any_test` (
+ `id` int(11) NULL,
+ `c_array1` ARRAY<int(11)> NULL,
+ `c_array2` ARRAY<int(11)> NOT NULL,
+ `c_array3` ARRAY<string> NULL,
+ `c_array4` ARRAY<string> NOT NULL,
+ `s_info1` STRUCT<s_id:int(11), s_name:string, s_address:string> NULL,
+ `s_info2` STRUCT<s_id:int(11), s_name:string, s_address:string> NOT
NULL,
+ `m1` Map<STRING, INT> NULL,
+ `m2` Map<STRING, INT> NOT NULL
Review Comment:
add all type test case
--
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]