Skip to content

Commit

Permalink
remove test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jan 20, 2025
1 parent 4ad5210 commit b472276
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ abstract class CometTestBase
dfSpark.queryExecution.explainString(ExtendedMode),
dfComet.queryExecution.explainString(ExtendedMode))
if (supportsExtendedExplainInfo(dfSpark.queryExecution)) {
assert(expectedInfo.forall(s => diff.contains(s)))
for (info <- expectedInfo) {
if (!diff.contains(info)) {
fail(s"Extended explain diff did not contain $info. Diff: $diff.")
}
}
}
val extendedInfo =
new ExtendedExplainInfo().generateExtendedInfo(dfComet.queryExecution.executedPlan)
Expand Down

0 comments on commit b472276

Please sign in to comment.