Skip to content
Closed
Prev Previous commit
Next Next commit
fix ExplainSuite
  • Loading branch information
yaooqinn committed Jun 19, 2024
commit f6dd4fa985085a080da8d70645ea89be92dfa363
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ class ExplainSuite extends ExplainSuiteHelper with DisableAdaptiveExecutionSuite
""".stripMargin)
checkKeywordsExistsInExplain(df2,
"Project [concat(cast(id#xL as string), cast((id#xL + 1) as string), " +
"cast(encode(cast((id#xL + 2) as string), utf-8, false) as string), " +
"cast(encode(cast((id#xL + 3) as string), utf-8, false) as string)) AS col#x]")
"cast(encode(cast((id#xL + 2) as string), utf-8, false, false) as string), " +
"cast(encode(cast((id#xL + 3) as string), utf-8, false, false) as string)) AS col#x]")

val df3 = sql(
"""
Expand All @@ -209,8 +209,8 @@ class ExplainSuite extends ExplainSuiteHelper with DisableAdaptiveExecutionSuite
""".stripMargin)
checkKeywordsExistsInExplain(df3,
"Project [concat(cast(id#xL as string), " +
"cast(encode(cast((id#xL + 2) as string), utf-8, false) as string), " +
"cast(encode(cast((id#xL + 3) as string), utf-8, false) as string)) AS col#x]")
"cast(encode(cast((id#xL + 2) as string), utf-8, false, false) as string), " +
"cast(encode(cast((id#xL + 3) as string), utf-8, false, false) as string)) AS col#x]")
}
}

Expand Down