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
@@ -543,6 +544,7 @@ abstract class CometTestBase
543544 case None => f(spark.read.format(" parquet" ).load(path))
544545 }
545546
547+ @ nowarn(" cat=deprecation" )
546548 protected def createParquetWriter (
547549 schema : MessageType ,
548550 path : Path ,
@@ -552,7 +554,6 @@ abstract class CometTestBase
552554 pageRowCountLimit : Int = ParquetProperties .DEFAULT_PAGE_ROW_COUNT_LIMIT ,
553555 rowGroupSize : Long = 1024 * 1024L ): ParquetWriter [Group ] = {
554556 val hadoopConf = spark.sessionState.newHadoopConf()
555-
556557 ExampleParquetWriter
557558 .builder(path)
558559 .withDictionaryEncoding(dictionaryEnabled)
You can’t perform that action at this time.
0 commit comments