Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33080

Replace compiler reporter with more robust and maintainable solution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • Build
    • None

    Description

      Currently existing solution to have build to fail on any warning except deprecation ones (https://github.com/apache/spark/blob/v3.0.1/project/SparkBuild.scala#L285) is not very maintainable in scope of build upgrade to latest sbt. 

      At upgrade to sbt 1.4.0 this snippet would fail build import at all.

      Implement new solution, using switch over compiler versions, silencer compiler plugin for Scala prior 2.13.2 and built-in warning configuration since Scala 2.13.2

      Depends on changes for SPARK-21708

      Attachments

        Issue Links

          Activity

            People

              gemelen Denis Pyshev
              gemelen Denis Pyshev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: