Skip to content

Commit

Permalink
[enhance](cloud)support SHOW-TRANSACTION
Browse files Browse the repository at this point in the history
  • Loading branch information
cjj2010 committed Oct 11, 2024
1 parent fad7734 commit 1eac5f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ excludeSuites = "000_the_start_sentinel_do_not_touch," + // keep this line as th
"test_refresh_mtmv," + // not supported yet
"test_report_version_missing," +
"test_set_partition_version," +
"test_show_transaction," + // not supported yet
"test_spark_load," +
"test_index_lowercase_fault_injection," +
"test_index_compaction_failure_injection," +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ suite("test_show_transaction", "p0") {
sql """ INSERT INTO ${testTable} WITH LABEL label_test_show_transaction_${uuid} VALUES(100, 'doris') """
def res = sql_return_maparray """ show transaction where label = 'label_test_show_transaction_${uuid}' """
print("show transaction result : " + res)
def reslike = sql_return_maparray """ show transaction where label like 'label_test_show_transaction_${uuid}%' """
assertTrue(res.equals(reslike))
if (!isCloudMode()) {
def reslike = sql_return_maparray """ show transaction where label like 'label_test_show_transaction_${uuid}%' """
assertTrue(res.equals(reslike))
}

}

0 comments on commit 1eac5f1

Please sign in to comment.