Skip to content

Commit

Permalink
[test](case) skip unstable case in cloud mode (#46274)
Browse files Browse the repository at this point in the history
skip unstable case in cloud mode
  • Loading branch information
924060929 authored Jan 2, 2025
1 parent ebee839 commit 5689345
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ 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")
}
}

def assertNoCache = { String sqlStr ->
if (isCloudMode()) {
return
}
explain {
sql ("physical plan ${sqlStr}")
notContains("PhysicalSqlCache")
Expand Down

0 comments on commit 5689345

Please sign in to comment.