liutang123 commented on code in PR #58490:
URL: https://github.com/apache/doris/pull/58490#discussion_r2570410650
##########
regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions2.groovy:
##########
@@ -271,4 +271,37 @@ suite("test_aggregate_all_functions2") {
qt_select_histogram_k11_all_null """SELECT histogram(k11, 11) FROM
baseall"""
qt_select_histogram_k12_all_null """SELECT histogram(k12, 12) FROM
baseall"""
qt_select_histogram_k13_all_null """SELECT histogram(k13, 13) FROM
baseall"""
+
+ sql "DROP TABLE IF EXISTS test_maxmin";
+
+ sql """
+ CREATE TABLE test_maxmin (
+ id INT,
+ arr ARRAY<INT>,
+ mp MAP<STRING, INT>,
+ st STRUCT<a: INT, b: STRING>,
+ weight INT
+ ) engine=olap
+ DISTRIBUTED BY HASH(`id`) BUCKETS 4
+ properties("replication_num" = "1","store_row_column" = "true");
+ """
+
+ sql """
+ INSERT INTO test_maxmin (id, arr, mp, st, weight) VALUES
+ (1, [1,2,3], {"k1": 10, "k2": 20}, NAMED_STRUCT("a", 1,
"b", "alpha"), 5),
Review Comment:
You can add some array data that include null values.
--
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]