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

Fix Desc Formatted related Java 8 ordering differences

    XMLWordPrintableJSON

Details

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

    Description

      This patch fixes the following tests for Java 8:

      (1) list_bucket_dml_*.q

      DESC FORMATTED calls StorageDescriptor.getSkewedInfo() HMS API, which returns a thrift (unordered) map. Generate java version specific out file for these tests.

      (2) partitions_json.q

      SHOW PARTITIONS uses MapBuilder via JsonMetaDataFormatter which uses HashMap. Changed it to ordered map.

      Attachments

        1. HIVE-9206.patch
          724 kB
          Mohit Sabharwal
        2. HIVE-9206.1.patch
          772 kB
          Mohit Sabharwal

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: