This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 699e6c3b4f80bebafc57dfc261957c10411f0eae Author: meiyi <myime...@gmail.com> AuthorDate: Sun Aug 4 10:32:02 2024 +0800 [fix](regression) fix test_primary_key_simple_case (#38798) ## Proposed changes the case is failed: ``` assertTrue(result.size() == 7) assertTrue(result[6][10] == 25) ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception: java.lang.NullPointerException: Cannot invoke method getAt() on null object ``` --- .../unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy | 2 +- .../suites/unique_with_mow_p0/test_primary_key_simple_case.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy b/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy index 788f934fdf0..39efc150e7f 100644 --- a/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy +++ b/regression-test/suites/unique_with_mow_p0/cluster_key/test_primary_key_simple_case.groovy @@ -66,7 +66,7 @@ suite("test_primary_key_simple_case") { (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 34, 20) """ - result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ + def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ assertTrue(result.size() == 5) assertTrue(result[0].size() == 11) diff --git a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy index a2e351372e3..91d1da9162c 100644 --- a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy +++ b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy @@ -62,7 +62,7 @@ suite("test_primary_key_simple_case") { (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 34, 20) """ - result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ + def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ assertTrue(result.size() == 5) assertTrue(result[0].size() == 11) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org