zhztheplayer commented on code in PR #11198:
URL:
https://github.com/apache/incubator-gluten/pull/11198#discussion_r2564596709
##########
pom.xml:
##########
@@ -967,7 +967,7 @@
<arg>-feature</arg>
<arg>-explaintypes</arg>
<arg>-target:jvm-1.8</arg>
- <arg>-Wconf:cat=deprecation:wv,any:e</arg>
+ <arg>-Wconf:cat=deprecation:wv</arg>
Review Comment:
> ```
>
/Users/chengchengjin/code/spark40/gluten/shims/spark40/src/main/scala/org/apache/gluten/sql/shims/spark40/Spark40Shims.scala:676:27
> method readFooter in class ParquetFileReader is deprecated
> Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of
the message>, cat=deprecation,
site=org.apache.gluten.sql.shims.spark40.Spark40Shims.isParquetFileEncrypted.footer,
origin=org.apache.parquet.hadoop.ParquetFileReader.readFooter
> ParquetFileReader.readFooter(conf, fileStatus.getPath,
ParquetMetadataConverter.NO_FILTER)
> ```
Okay. Isn't this a deprecation error? But `deprecation:wv` should already
make the Scala compiler treat deprecation messages as warnings... Not sure why
it's failing the compilation here.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]