From 9abdb8f56d0b0ab06e39d74da2bcc6a364b72e51 Mon Sep 17 00:00:00 2001 From: wangyunlai Date: Thu, 24 Oct 2024 20:05:39 +0800 Subject: [PATCH] Update primary-null.test --- test/case/test/primary-null.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/case/test/primary-null.test b/test/case/test/primary-null.test index be6bfd33d..a66b7c125 100644 --- a/test/case/test/primary-null.test +++ b/test/case/test/primary-null.test @@ -74,7 +74,7 @@ SELECT count(birthday) FROM null_table; SELECT avg(num) FROM null_table; -- echo 6. aggregation with null columns -CREATE TABLE null_table3(id int, num int null); +CREATE TABLE null_table3(id int not null, num int null); INSERT INTO null_table3 VALUES (1, null); INSERT INTO null_table3 VALUES (2, null); SELECT count(num) FROM null_table3;