Details
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
- is duplicated by
-
SPARK-9274 Tests using golden files can fail depending on new line characters in queries
- Resolved
- links to