You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Christian Kadner (JIRA)" <ji...@apache.org> on 2015/07/21 08:04:04 UTC
[jira] [Created] (SPARK-9211) HiveComparisonTest generates
incorrect file name for golden answer files on Windows
Christian Kadner created SPARK-9211:
---------------------------------------
Summary: HiveComparisonTest generates incorrect file name for golden answer files on Windows
Key: SPARK-9211
URL: https://issues.apache.org/jira/browse/SPARK-9211
Project: Spark
Issue Type: Test
Components: SQL, Windows
Affects Versions: 1.4.1
Environment: Windows
Reporter: Christian Kadner
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org