branch-2.1: [test](case) skip unstable case in cloud mode #46274 (#46298)

skip unstable case in cloud mode
This commit is contained in:
github-actions[bot]
2025-01-02 20:32:28 +08:00
committed by GitHub
parent c385293ee9
commit e5aeacae59

View File

@ -19,6 +19,9 @@ import java.util.stream.Collectors
suite("parse_sql_from_sql_cache") {
def assertHasCache = { String sqlStr ->
if (isCloudMode()) {
return
}
explain {
sql ("physical plan ${sqlStr}")
contains("PhysicalSqlCache")
@ -26,6 +29,9 @@ suite("parse_sql_from_sql_cache") {
}
def assertNoCache = { String sqlStr ->
if (isCloudMode()) {
return
}
explain {
sql ("physical plan ${sqlStr}")
notContains("PhysicalSqlCache")