Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2401,8 +2401,6 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
}

test("get_struct_field - select primitive fields") {
val scanImpl = CometConf.COMET_NATIVE_SCAN_IMPL.get()
assume(!(scanImpl == CometConf.SCAN_AUTO && CometSparkSessionExtensions.isSpark40Plus))
withTempPath { dir =>
// create input file with Comet disabled
withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
Expand All @@ -2420,8 +2418,6 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
}

test("get_struct_field - select subset of struct") {
val scanImpl = CometConf.COMET_NATIVE_SCAN_IMPL.get()
assume(!(scanImpl == CometConf.SCAN_AUTO && CometSparkSessionExtensions.isSpark40Plus))
withTempPath { dir =>
// create input file with Comet disabled
withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
Expand Down Expand Up @@ -2449,8 +2445,6 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
}

test("get_struct_field - read entire struct") {
val scanImpl = CometConf.COMET_NATIVE_SCAN_IMPL.get()
assume(!(scanImpl == CometConf.SCAN_AUTO && CometSparkSessionExtensions.isSpark40Plus))
withTempPath { dir =>
// create input file with Comet disabled
withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ class CometMathExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelpe
DataGenOptions(generateNegativeZero = generateNegativeZero))
}

// https://github.com/apache/datafusion-comet/issues/3561
ignore("width_bucket") {
test("width_bucket") {
assume(isSpark35Plus, "width_bucket was added in Spark 3.5")
withSQLConf("spark.comet.exec.localTableScan.enabled" -> "true") {
spark
Expand All @@ -106,8 +105,7 @@ class CometMathExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelpe
}
}

// https://github.com/apache/datafusion-comet/issues/3561
ignore("width_bucket - edge cases") {
test("width_bucket - edge cases") {
assume(isSpark35Plus, "width_bucket was added in Spark 3.5")
withSQLConf("spark.comet.exec.localTableScan.enabled" -> "true") {
spark
Expand All @@ -124,8 +122,7 @@ class CometMathExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelpe
}
}

// https://github.com/apache/datafusion-comet/issues/3561
ignore("width_bucket - NaN values") {
test("width_bucket - NaN values") {
assume(isSpark35Plus, "width_bucket was added in Spark 3.5")
withSQLConf("spark.comet.exec.localTableScan.enabled" -> "true") {
spark
Expand All @@ -137,8 +134,7 @@ class CometMathExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelpe
}
}

// https://github.com/apache/datafusion-comet/issues/3561
ignore("width_bucket - with range data") {
test("width_bucket - with range data") {
assume(isSpark35Plus, "width_bucket was added in Spark 3.5")
withSQLConf("spark.comet.exec.localTableScan.enabled" -> "true") {
spark
Expand Down
Loading