You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/08/07 00:26:04 UTC

[jira] [Updated] (SPARK-9211) HiveComparisonTest generates incorrect file name for golden answer files on Windows

     [ https://issues.apache.org/jira/browse/SPARK-9211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust updated SPARK-9211:
------------------------------------
    Assignee: Christian Kadner

> 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
>            Assignee: Christian Kadner
>            Priority: Minor
>              Labels: hive, sql, test, windows
>             Fix For: 1.5.0
>
>
> 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