Skip to content

Commit a1f1b3c

Browse files
committed
Spark - pt3
Signed-off-by: Andy HF Kwok <[email protected]>
1 parent 2d22b51 commit a1f1b3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spark/src/test/scala/org/apache/spark/sql/CometTestBase.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ package org.apache.spark.sql
2121

2222
import java.util.concurrent.atomic.AtomicInteger
2323

24+
import scala.annotation.nowarn
2425
import scala.concurrent.duration._
2526
import scala.reflect.ClassTag
2627
import scala.reflect.runtime.universe.TypeTag
@@ -425,6 +426,7 @@ abstract class CometTestBase
425426
case None => f(spark.read.format("parquet").load(path))
426427
}
427428

429+
@nowarn("cat=deprecation")
428430
protected def createParquetWriter(
429431
schema: MessageType,
430432
path: Path,
@@ -434,7 +436,6 @@ abstract class CometTestBase
434436
pageRowCountLimit: Int = ParquetProperties.DEFAULT_PAGE_ROW_COUNT_LIMIT,
435437
rowGroupSize: Long = 1024 * 1024L): ParquetWriter[Group] = {
436438
val hadoopConf = spark.sessionState.newHadoopConf()
437-
438439
ExampleParquetWriter
439440
.builder(path)
440441
.withDictionaryEncoding(dictionaryEnabled)

0 commit comments

Comments
 (0)