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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to