File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
spark/src/test/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ package org.apache.spark.sql
2121
2222import java .util .concurrent .atomic .AtomicInteger
2323
24+ import scala .annotation .nowarn
2425import scala .concurrent .duration ._
2526import scala .reflect .ClassTag
2627import 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)
You can’t perform that action at this time.
0 commit comments