Skip to content

Commit 5661a67

Browse files
committed
Spark - pt3
Signed-off-by: Andy HF Kwok <[email protected]>
1 parent 3a1754a commit 5661a67

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
@@ -550,6 +551,7 @@ abstract class CometTestBase
550551
case None => f(spark.read.format("parquet").load(path))
551552
}
552553

554+
@nowarn("cat=deprecation")
553555
protected def createParquetWriter(
554556
schema: MessageType,
555557
path: Path,
@@ -559,7 +561,6 @@ abstract class CometTestBase
559561
pageRowCountLimit: Int = ParquetProperties.DEFAULT_PAGE_ROW_COUNT_LIMIT,
560562
rowGroupSize: Long = 1024 * 1024L): ParquetWriter[Group] = {
561563
val hadoopConf = spark.sessionState.newHadoopConf()
562-
563564
ExampleParquetWriter
564565
.builder(path)
565566
.withDictionaryEncoding(dictionaryEnabled)

0 commit comments

Comments
 (0)