hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3320) Handle “CRLF” line endings to avoid the extra spacing in generated test outputs in Windows. (Utilities.Java :: readColumn)
Date Thu, 02 Aug 2012 05:08:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427113#comment-13427113
] 

Ashutosh Chauhan commented on HIVE-3320:
----------------------------------------

+1 Running tests.
                
> Handle “CRLF” line endings to avoid the extra spacing in generated test outputs in
Windows. (Utilities.Java :: readColumn)
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3320
>                 URL: https://issues.apache.org/jira/browse/HIVE-3320
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CLI, Tests, Windows
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>         Attachments: HIVE-3320.1.patch.txt, bucket1.q.out.patch.txt
>
>
> Existing functionality in Hive is looking for the “LF” character to extract the lines
from generated output before writing to the streaming object. Whereas in Windows, the line
endings are “CRLF” characters so it is leaving the “CR” character before writing each
line to the streaming object. This CR is introducing the extra empty lines in the generated
test output and causing several test cases to fail on Windows.
> Attached the generated output for one of the unit test failures with extra space. (bucket1.q)

--
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

       

Mime
View raw message