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
@@ -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)
You can’t perform that action at this time.
0 commit comments