hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-5598) Remove dummy new line at the end of non-sql commands
Date Mon, 21 Oct 2013 08:56:41 GMT
Navis created HIVE-5598:
---------------------------

             Summary: Remove dummy new line at the end of non-sql commands
                 Key: HIVE-5598
                 URL: https://issues.apache.org/jira/browse/HIVE-5598
             Project: Hive
          Issue Type: Bug
            Reporter: Navis
            Assignee: Navis
            Priority: Trivial


In Driver.java

{noformat}
ss = Utilities.readColumn(resStream, bos);
if (bos.getCount() > 0) {
  row = new String(bos.getData(), 0, bos.getCount(), "UTF-8");
} else if (ss == Utilities.StreamStatus.TERMINATED) {
  row = new String();
}

if (row != null) {
  numRows++;
  res.add(row);
}
{noformat}
last line would be added once more after EOF.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message