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

MIMA checks should apply to @Experimental and @DeveloperAPI APIs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Project Infra
    • None

    Description

      Our MIMA binary compatibility checks currently ignore APIs which are marked as @Experimental or @DeveloperApi, but I don't think this makes sense. Even if those annotations reserve the right to break binary compatibility, we should still avoid compatibility breaks whenever possible and should be informed explicitly when compatibility breaks.

      As a result, we should update GenerateMIMAIgnore to stop ignoring classes and methods which have those annotations. To remove the ignores, remove the checks from https://github.com/apache/spark/blob/643649dcbfabc5d6952c2ecfb98286324c887665/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala#L43

      After removing the ignores, update project/MimaExcludes.scala to add exclusions for binary compatibility breaks introduced in 2.0.

      Attachments

        Activity

          People

            dongjoon Dongjoon Hyun
            joshrosen Josh Rosen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: