Skip to content

Commit

Permalink
Remove Spark version check
Browse files Browse the repository at this point in the history
  • Loading branch information
surnaik committed Jun 13, 2024
1 parent 834f8d7 commit acbd0c6
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ class VeloxParquetWriteForHiveSuite extends GlutenQueryTest with SQLTestUtils {
withTable("t") {
spark.sql("CREATE TABLE t (c int) STORED AS PARQUET")
withSQLConf("spark.sql.hive.convertMetastoreParquet" -> "false") {
if (isSparkVersionGE("3.4")) {
checkNativeWrite("INSERT OVERWRITE TABLE t SELECT 1 as c", checkNative = true)
} else {
checkNativeWrite("INSERT OVERWRITE TABLE t SELECT 1 as c", checkNative = true)
}
checkNativeWrite("INSERT OVERWRITE TABLE t SELECT 1 as c", checkNative = true)
}
checkAnswer(spark.table("t"), Row(1))
}
Expand Down

0 comments on commit acbd0c6

Please sign in to comment.