Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8607 Java 8 support for Hive
  3. HIVE-8707

Fix ordering differences due to Java 8 HashMap function

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      Java 8 uses a different hash function for HashMap, which is leading to iteration order differences in several cases. (See Java8 vs Java7)

      For example:

      • In Explain output: Stages are numbered differently
      • In PostExecutePrinter hook, table order is different in lineage.

      Attachments

        1. HIVE-8707.patch
          6 kB
          Mohit Sabharwal
        2. HIVE-8707.3.patch
          2.15 MB
          Mohit Sabharwal
        3. HIVE-8707.2.patch
          2.15 MB
          Mohit Sabharwal
        4. HIVE-8707.1.patch
          3.55 MB
          Mohit Sabharwal

        Activity

          People

            mohitsabharwal Mohit Sabharwal
            mohitsabharwal Mohit Sabharwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: