This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 67544099546 branch-4.1: [fix](regression) Fix array string insert 
error assertion #64746 (#64809)
67544099546 is described below

commit 675440995462ea8df89d257106bdcd06e92d1f4d
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Jun 25 18:30:29 2026 +0800

    branch-4.1: [fix](regression) Fix array string insert error assertion 
#64746 (#64809)
    
    Cherry-picked from #64746
    
    Co-authored-by: Refrain <[email protected]>
---
 regression-test/suites/load/insert/test_array_string_insert.groovy | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/regression-test/suites/load/insert/test_array_string_insert.groovy 
b/regression-test/suites/load/insert/test_array_string_insert.groovy
index 6e6252b1a63..39a02ad18b4 100644
--- a/regression-test/suites/load/insert/test_array_string_insert.groovy
+++ b/regression-test/suites/load/insert/test_array_string_insert.groovy
@@ -48,23 +48,22 @@ suite("test_array_string_insert", "load") {
         sql "set enable_insert_strict = true"
 
         // ARRAY<char> too long
-        def exception_str = isGroupCommitMode() ? "too many filtered rows" : 
"Insert has filtered data in strict mode"
         sql "set enable_strict_cast = true"
         test {
             sql "INSERT INTO ${testTable} VALUES (1, ['12345','123456'], [], 
NULL)"
-            exception exception_str
+            exception "the length of input is too long than schema"
         }
 
         // NULL for NOT NULL column
         test {
             sql "INSERT INTO ${testTable} VALUES (2, ['12345','123'], NULL, 
NULL)"
-            exception exception_str
+            exception "null value for not null column"
         }
 
         // ARRAY<ARRAY<char>> too long
         test {
             sql "INSERT INTO ${testTable} VALUES (3, NULL, ['4'], 
[['123456'],['222']])"
-            exception exception_str
+            exception "the length of input is too long than schema"
         }
 
         // normal insert


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to