Skip to content

Commit 310a7ea

Browse files
committed
test: avoid implicit widening in explode regression fixture
1 parent ae5cbe3 commit 310a7ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎spark/src/test/scala/org/apache/comet/exec/CometGenerateExecSuite.scala‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,12 +665,12 @@ class CometGenerateExecSuite extends CometTestBase {
665665
// every level before export, including in a struct built over the booleans and in the input to
666666
// a Scala UDF, or they come back wrong after the first output batch.
667667
// https://github.com/apache/datafusion-comet/issues/6464
668-
private def withBooleanArrays(numRows: Int, arrayLength: Int)(f: => Unit): Unit = {
668+
private def withBooleanArrays(numRows: Long, arrayLength: Long)(f: => Unit): Unit = {
669669
withTempPath { dir =>
670670
// One file, so a single input batch explodes into several output batches.
671671
withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
672672
spark
673-
.range(0, numRows, 1, 1)
673+
.range(0L, numRows, 1L, 1)
674674
.selectExpr(
675675
"id",
676676
s"transform(sequence(1, $arrayLength), i -> named_struct(" +

0 commit comments

Comments
 (0)