[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-06 Thread Ashutosh Chauhan (JIRA)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-08 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Patch Available  (was: Open)

> 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, HIVE-5598.5.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-08 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.5.patch.txt

> 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, HIVE-5598.5.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-09 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Patch Available  (was: Open)

> 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, HIVE-5598.5.patch.txt, 
> HIVE-5598.6.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-09 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.6.patch.txt

> 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, HIVE-5598.5.patch.txt, 
> HIVE-5598.6.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-09 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Open  (was: Patch Available)

> 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, HIVE-5598.5.patch.txt, 
> HIVE-5598.6.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-12-09 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-5598:
---

   Resolution: Fixed
Fix Version/s: 0.13.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Navis!

> 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
> Fix For: 0.13.0
>
> Attachments: HIVE-5598.1.patch.txt, HIVE-5598.2.patch.txt, 
> HIVE-5598.3.patch.txt, HIVE-5598.4.patch.txt, HIVE-5598.5.patch.txt, 
> HIVE-5598.6.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.4#6159)


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-21 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.1.patch.txt

Making diff file..

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-22 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.2.patch.txt

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-22 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Patch Available  (was: Open)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-24 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Open  (was: Patch Available)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-24 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.3.patch.txt

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-24 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Patch Available  (was: Open)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-30 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Open  (was: Patch Available)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-30 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Status: Patch Available  (was: Open)

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


[jira] [Updated] (HIVE-5598) Remove dummy new line at the end of non-sql commands

2013-10-30 Thread Navis (JIRA)

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

Navis updated HIVE-5598:


Attachment: HIVE-5598.4.patch.txt

fix test results of newly added tests

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