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

Unit test should be shim-aware

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • Testing Infrastructure
    • None
    • Reviewed

    Description

      Some features in Hive only works for certain Hadoop versions through shim. However the unit test structure is not shim-aware in that there is only one set of queries and expected outputs for all Hadoop versions. This may not be sufficient when we will have different output for different Hadoop versions. One example is CombineHiveInputFormat wich is only available from Hadoop 0.20. The plan using CombineHiveInputFormat and HiveInputFormat may be different. Another example is archival partitions (HAR) which is also only available from 0.20.

      Attachments

        1. HIVE-1359.2.patch
          8 kB
          Ning Zhang
        2. HIVE-1359.patch
          12 kB
          Ning Zhang
        3. unit_tests.txt
          2 kB
          Ning Zhang

        Issue Links

          Activity

            People

              nzhang Ning Zhang
              nzhang Ning Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: