Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9211

HiveComparisonTest generates incorrect file name for golden answer files on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.1
    • 1.5.0
    • SQL, Windows
    • Windows

    Description

      The names of the golden answer files for the Hive test cases (test suites based on HiveComparisonTest) are generated using an MD5 hash of the query text. When the query text contains line breaks then the generated MD5 hash differs between Windows and Linux/OSX (\r\n vs \n).

      This results in erroneously created golden answer files from just running a Hive comparison test and makes it impossible to modify or add new test cases with correctly named golden answer files on Windows.

      Attachments

        Issue Links

          Activity

            People

              ckadner Christian Kadner
              ckadner Christian Kadner
              Michael Armbrust Michael Armbrust
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: