LuciferYang commented on a change in pull request #30784:
URL: https://github.com/apache/spark/pull/30784#discussion_r544005908
##########
File path: pom.xml
##########
@@ -2503,9 +2503,6 @@
<recompileMode>incremental</recompileMode>
<useZincServer>true</useZincServer>
<args>
- <arg>-unchecked</arg>
Review comment:
With `-unchecked`, Scala 2.13 has compilation error as follow:
```
[ERROR]
/spark-source/sql/core/src/test/scala/org/apache/spark/sql/streaming/sources/StreamingDataSourceV2Suite.scala:293:
a pure expression does nothing in statement position
```
So Scala 2.12 use `-unchecked`, Scala 2.13 use `-Wconf:cat=unchecked:wv`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]