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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: