Skip to content

Commit bc0d4e4

Browse files
chor: enable Corr
1 parent be084dc commit bc0d4e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spark/src/test/scala/org/apache/comet/exec/CometAggregateSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,8 +1391,8 @@ class CometAggregateSuite extends CometTestBase with AdaptiveSparkPlanHelper {
13911391
}
13921392

13931393
test("corr - nan/null") {
1394-
withTable("t1") {
1395-
sql("""create table t1 using parquet as
1394+
withTable("t") {
1395+
sql("""create table t using parquet as
13961396
select cast(null as float) f1, CAST('NaN' AS float) f2, cast(null as double) d1, CAST('NaN' AS double) d2
13971397
from range(1)
13981398
""")
@@ -1407,7 +1407,7 @@ class CometAggregateSuite extends CometTestBase with AdaptiveSparkPlanHelper {
14071407
| corr(d1, d1) c6,
14081408
| corr(d2, d1) c7,
14091409
| corr(d2, d2) c8
1410-
| FROM t1""".stripMargin)
1410+
| FROM t""".stripMargin)
14111411
}
14121412
}
14131413

0 commit comments

Comments
 (0)