HappenLee
608d2a3eca
[Bug](exec) push down no group by agg min cause error result (#20289)
sql """
CREATE TABLE t1_int (
num int(11) NULL,
dgs_jkrq bigint(20) NULL
) ENGINE=OLAP
DUPLICATE KEY(num)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(num) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false"
);
"""
sql """insert into t1_int values(1,1),(1,2),(1,3),(1,4),(1,null);"""
qt_sql """
select min(dgs_jkrq) from t1_int;
"""
get the error result:4
after change we get the right result:1
2023-06-01 17:29:46 +08:00
..
2023-03-07 10:28:56 +08:00
2023-01-17 16:48:02 +08:00
2023-05-29 15:38:31 +08:00
2023-02-17 18:48:27 +08:00
2023-05-15 15:13:16 +08:00
2023-05-29 15:38:31 +08:00
2023-05-17 21:26:31 +08:00
2023-01-18 16:41:41 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2022-08-19 10:57:55 +08:00
2023-06-01 13:09:58 +08:00
2023-05-11 11:10:48 +08:00
2023-06-01 13:09:58 +08:00
2023-04-07 17:04:08 +08:00
2023-05-30 21:12:48 +08:00
2023-06-01 13:09:58 +08:00
2023-05-26 14:11:17 +08:00
2023-01-13 18:33:40 +08:00
2023-06-01 10:25:04 +08:00
2023-03-21 10:08:20 +08:00
2023-05-29 15:38:31 +08:00
2023-05-17 21:26:31 +08:00
2023-05-08 14:02:20 +08:00
2023-06-01 12:17:47 +08:00
2023-05-31 09:21:04 +08:00
2023-01-10 17:25:06 +08:00
2023-02-17 18:48:27 +08:00
2023-05-29 15:38:31 +08:00
2023-05-14 20:01:30 +08:00
2023-05-29 15:38:31 +08:00
2023-05-31 18:09:50 +08:00
2023-06-01 13:09:58 +08:00
2023-05-26 14:11:17 +08:00
2023-05-26 21:35:38 +08:00
2023-05-17 20:50:15 +08:00
2023-05-18 16:16:52 +08:00
2023-05-27 12:45:45 +08:00
2023-05-29 15:38:31 +08:00
2023-05-29 15:38:31 +08:00
2023-03-30 14:42:34 +08:00
2023-05-30 16:26:00 +08:00
2023-02-19 15:11:54 +08:00
2023-03-21 23:22:17 +08:00
2023-04-30 17:42:02 +08:00
2023-04-07 14:23:16 +08:00
2023-04-03 09:49:07 +08:00
2023-06-01 13:09:58 +08:00
2023-05-17 21:26:31 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2023-05-29 15:38:31 +08:00
2023-05-29 15:38:31 +08:00
2023-05-29 15:38:31 +08:00
2022-09-19 08:38:17 +08:00
2023-02-28 11:15:32 +08:00
2023-01-18 12:33:20 +08:00
2023-05-27 12:38:58 +08:00
2022-11-22 21:35:18 +08:00
2023-06-01 17:29:46 +08:00
2023-03-20 13:10:12 +08:00
2023-05-17 21:26:31 +08:00
2023-05-17 21:26:31 +08:00
2023-04-11 11:09:43 +08:00
2023-05-23 18:18:55 +08:00
2023-04-26 15:34:46 +08:00
2022-10-04 20:56:22 +08:00
2023-04-07 14:23:16 +08:00
2022-11-22 10:36:12 +08:00
2023-02-17 18:48:27 +08:00
2023-05-26 16:05:38 +08:00
2023-05-29 15:38:31 +08:00
2023-05-24 20:17:28 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 15:11:12 +08:00
2023-05-10 15:06:23 +08:00
2023-06-01 13:09:58 +08:00
2023-06-01 13:09:58 +08:00
2023-04-20 11:02:53 +08:00
2022-11-28 19:30:32 +08:00
2023-06-01 15:11:12 +08:00
2022-11-28 19:30:32 +08:00
2023-06-01 15:11:12 +08:00
2023-06-01 15:11:12 +08:00
2023-06-01 15:11:12 +08:00
2023-06-01 13:09:58 +08:00
2023-05-29 15:38:31 +08:00
2023-05-22 11:45:53 +08:00
2023-05-11 11:10:48 +08:00
2023-04-28 17:17:57 +08:00
2023-03-23 17:59:49 +08:00
2023-05-19 09:46:29 +08:00
2023-03-29 10:49:39 +08:00
2022-09-29 10:45:17 +08:00
2023-04-07 14:23:16 +08:00