Kanna Karanam created HIVE-3320:
-----------------------------------

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


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


Reply via email to