LuciferYang opened a new pull request, #47316:
URL: https://github.com/apache/spark/pull/47316

   ### What changes were proposed in this pull request?
   This pr aims to fix a compilation warning related to Scala 2.11:
   
   ```
   [warn] 
/Users/yangjie01/SourceCode/git/spark-mine-sbt/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetCommitterSuite.scala:119:77:
 adaptation of an empty argument list by inserting () is deprecated: this is 
unlikely to be what you want
   [warn]         signature: SQLTestUtilsBase.withSQLConf[T](pairs: (String, 
String)*)(f: => T): T
   [warn]   given arguments: <none>
   [warn]  after adaptation: SQLTestUtilsBase.withSQLConf((): Unit)
   [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of 
the message>, cat=deprecation, 
site=org.apache.spark.sql.execution.datasources.parquet.ParquetCommitterSuite, 
origin=org.apache.spark.sql.test.SQLTestUtilsBase.withSQLConf, version=2.11.0
   [warn]         withSQLConf(SQLConf.PARQUET_OUTPUT_COMMITTER_CLASS.key -> 
committer)()
   ```
   
   ### Why are the changes needed?
   Fix compilation warning
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Pass GitHub Actions
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to