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

Kanna Karanam updated HIVE-3240:
--------------------------------

    Attachment: Windows_alter1.q.out.patch.txt

@Edward – I do agree with you. Unit test shouldn’t restrict us on what to test 
and what not. Apart from  the differences in new line characters, “ToString()” 
on some objects are introducing extra lines/spaces at the end  on Windows 
compare to Unix and it is causing  some tests fail. Here is the diff for 
“alter1.q” on windows. (Note: I trimmed the CR characters to minimize the patch)

Coming to this Jira – timestamp_lazy.q is passing with no issues. I couldn’t 
run newline/q test yet on windows because of some Path/Perl related issue.

                
> Fix non-deterministic results in newline.q and timestamp_lazy.q
> ---------------------------------------------------------------
>
>                 Key: HIVE-3240
>                 URL: https://issues.apache.org/jira/browse/HIVE-3240
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Zhenxiao Luo
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-3240.1.patch.txt, Windows_alter1.q.out.patch.txt
>
>
> newline.q and timestamp_lazy.q have non-deterministic results, which make 
> them fail on MapReduce2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to