Skip to content

Commit

Permalink
[chore](regression-test) forbit BUILD INDEX in cloud mode for variant…
Browse files Browse the repository at this point in the history
… case (apache#34924)
  • Loading branch information
eldenmoon committed May 15, 2024
1 parent 6b5778a commit adc38f8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions regression-test/suites/variant_github_events_p0/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,13 @@ suite("regression_test_variant_github_events_p0", "nonConcurrent"){
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)

if (!isCloudMode()) {
// 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)
}

// add bloom filter at the end of loading data

def tablets = sql_return_maparray """ show tablets from github_events; """
Expand Down

0 comments on commit adc38f8

Please sign in to comment.