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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 79d135994fb [fix](regression test) fix case 
variant_github_events_nonConcurrent_p2(#50437) (#50438)
79d135994fb is described below

commit 79d135994fbfc0d3a78d921f7988ab4051f179bd
Author: Sun Chenyang <[email protected]>
AuthorDate: Sun Apr 27 09:14:04 2025 +0800

    [fix](regression test) fix case 
variant_github_events_nonConcurrent_p2(#50437) (#50438)
    
    pick from master #50437
---
 .../suites/variant_github_events_nonConcurrent_p2/load.groovy | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git 
a/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy 
b/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy
index 5a38219a205..a9b200d3099 100644
--- a/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy
+++ b/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy
@@ -178,10 +178,13 @@ suite("regression_test_variant_github_events_p2", 
"nonConcurrent,p2"){
     load_json_data.call(table_name, """${getS3Url() + 
'/regression/gharchive.m/2022-11-07-22.json'}""")
     load_json_data.call(table_name, """${getS3Url() + 
'/regression/gharchive.m/2022-11-07-23.json'}""")
 
-    // BUILD INDEX and expect state is FINISHED 
-    sql """ BUILD INDEX idx_var ON  github_events"""
-    state = wait_for_last_build_index_on_table_finish("github_events", timeout)
-    assertEquals("FINISHED", state)
+    // BUILD INDEX
+    try {
+        sql """ BUILD INDEX idx_var ON  github_events"""
+    } catch (Exception e) {
+        log.info(e.getMessage())
+        assertTrue(e.getMessage().contains("The idx_var index can not be built 
on the v column, because it is a variant type column"))
+    }
 
     // add bloom filter at the end of loading data 
 


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

Reply via email to