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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 79191a986ba branch-3.0: [fix](regression test) fix case 
variant_github_events_nonConcurrent_p2 #50437 (#50490)
79191a986ba is described below

commit 79191a986bad6e4872bcae5a5461a0ff13ad0e2f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Apr 28 19:40:00 2025 +0800

    branch-3.0: [fix](regression test) fix case 
variant_github_events_nonConcurrent_p2 #50437 (#50490)
    
    Cherry-picked from #50437
    
    Co-authored-by: Sun Chenyang <suncheny...@selectdb.com>
---
 .../suites/variant_github_events_nonConcurrent_p2/load.groovy    | 9 +++++----
 1 file changed, 5 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 bc91d75ad53..d264561756d 100644
--- a/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy
+++ b/regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy
@@ -178,11 +178,12 @@ 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'}""")
 
-    if (!isCloudMode()) {
-        // BUILD INDEX and expect state is FINISHED
+    // BUILD INDEX
+    try {
         sql """ BUILD INDEX idx_var ON  github_events"""
-        def state = wait_for_last_build_index_on_table_finish("github_events", 
timeout)
-        assertEquals("FINISHED", state)
+    } 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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to