Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17130

Add automated tests to check backwards compatibility of core APIs

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      We should added automated tests that check we are not adding backwards incompatible changes to core APIs (e.g. HMS APIs, SerDe APIs, UDF APIs, etc.).

      Other Apache components, such as HBase and Hadoop already have existing checks. They are largely based on the japi-compliance-checker: https://lvc.github.io/japi-compliance-checker/

      The nice thing about the japi-compliance-checker is that it can identify an interface as "any class with a specified Java annotation", so we can use the compliance-checker to check for backwards compatibility of any classes annotated with InterfaceAudience.Public

      Ideally, we can build this check into our pre-commit job, or get it into YETUS, since we are already working on adding YETUS support to Hive.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stakiar Sahil Takiar
                Reporter:
                stakiar Sahil Takiar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: