GitHub user ckadner opened a pull request:

    https://github.com/apache/spark/pull/7563

    [SPARK-9211][SQL] normalize line separators before generating MD5 hash

    The golden answer file names for the existing Hive comparison tests were 
generated using a MD5 hash of the query text which uses Unix-style line 
separator characters `\n` (LF). 
    This PR ensures that all occurrences of the Windows-style line separator 
`\r\n` (CR) are replaced with `\n` (LF) before generating the MD5 hash to 
produce an identical MD5 hash for golden answer file names generated on Windows.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ckadner/spark SPARK-9211_working

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7563.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7563
    
----
commit d541db089992e10ca6033d3f2e3dd7df405a720b
Author: Christian Kadner <[email protected]>
Date:   2015-07-21T06:33:47Z

    [SPARK-9211][SQL] normalize line separators before MD5 hash

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to