Skip to content

Commit

Permalink
revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed May 2, 2024
1 parent e5226f0 commit 6738544
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ class CometExecSuite extends CometTestBase {
test("like (LikeSimplification disabled)") {
val table = "names"
withSQLConf(
CometConf.COMET_CAST_ALLOW_INCOMPATIBLE.key -> "true",
SQLConf.OPTIMIZER_EXCLUDED_RULES.key -> "org.apache.spark.sql.catalyst.optimizer.LikeSimplification") {
withTable(table) {
sql(s"create table $table(id int, name varchar(20)) using parquet")
Expand Down Expand Up @@ -950,9 +949,8 @@ class CometExecSuite extends CometTestBase {
}

test("SPARK-33474: Support typed literals as partition spec values") {
withSQLConf(
CometConf.COMET_CAST_ALLOW_INCOMPATIBLE.key -> "true",
SESSION_LOCAL_TIMEZONE.key -> "Asia/Kathmandu") {
withSQLConf(SESSION_LOCAL_TIMEZONE.key -> "Asia/Kathmandu",
CometConf.COMET_CAST_ALLOW_INCOMPATIBLE.key -> "true") {
withTable("t1") {
val binaryStr = "Spark SQL"
val binaryHexStr = Hex.hex(UTF8String.fromString(binaryStr).getBytes).toString
Expand Down

0 comments on commit 6738544

Please sign in to comment.