File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
spark/src/test/scala/org/apache/comet Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import org.apache.spark.sql.internal.SQLConf
41
41
import org .apache .spark .sql .internal .SQLConf .SESSION_LOCAL_TIMEZONE
42
42
import org .apache .spark .sql .types ._
43
43
44
- import org .apache .comet .CometSparkSessionExtensions .{ isSpark35Plus , isSpark40Plus }
44
+ import org .apache .comet .CometSparkSessionExtensions .isSpark40Plus
45
45
46
46
class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
47
47
import testImplicits ._
@@ -466,8 +466,7 @@ class CometExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelper {
466
466
test(" ANSI support for divide" ) {
467
467
assume(isSpark40Plus)
468
468
val data = Seq ((Integer .MIN_VALUE , 0 ))
469
- withSQLConf(
470
- SQLConf .ANSI_ENABLED .key -> " true" ) {
469
+ withSQLConf(SQLConf .ANSI_ENABLED .key -> " true" ) {
471
470
withParquetTable(data, " tbl" ) {
472
471
val res = spark.sql("""
473
472
|SELECT
You can’t perform that action at this time.
0 commit comments