You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/12/06 16:09:35 UTC
[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of
non-sql commands
[ https://issues.apache.org/jira/browse/HIVE-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-5598:
-----------------------------------
Status: Open (was: Patch Available)
Needs to be re-uploaded for Hive QA to trigger.
> 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
> Attachments: HIVE-5598.1.patch.txt, HIVE-5598.2.patch.txt, HIVE-5598.3.patch.txt, HIVE-5598.4.patch.txt
>
>
> 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)