[jira] [Updated] (HIVE-12780) Fix the output of the history command in Beeline

2016-01-27 Thread Shinichi Yamashita (JIRA)

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

Shinichi Yamashita updated HIVE-12780:
--
Attachment: HIVE-12780.4.patch

I attach a patch file after HIVE-12789.

> Fix the output of the history command in Beeline
> 
>
> Key: HIVE-12780
> URL: https://issues.apache.org/jira/browse/HIVE-12780
> Project: Hive
>  Issue Type: Bug
>  Components: Beeline
>Reporter: Shinichi Yamashita
>Assignee: Shinichi Yamashita
>Priority: Minor
> Attachments: HIVE-12780.1.patch, HIVE-12780.2.patch, 
> HIVE-12780.3.patch, HIVE-12780.4.patch
>
>
> I executed !history command in beeline. And the following results displayed.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 1.0: select
> 1.1: select
> 1.2: select
> 1.3: select
> {code}
> As a result, "1." is not necessary to output. I will change the output, such 
> as the following.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 0: select
> 1: select
> 2: select
> 3: select
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-12780) Fix the output of the history command in Beeline

2016-01-07 Thread Shinichi Yamashita (JIRA)

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

Shinichi Yamashita updated HIVE-12780:
--
Attachment: HIVE-12780.3.patch

Thank you for your comment. I moved a string array to outside the loop and add  
test case.

> Fix the output of the history command in Beeline
> 
>
> Key: HIVE-12780
> URL: https://issues.apache.org/jira/browse/HIVE-12780
> Project: Hive
>  Issue Type: Bug
>  Components: Beeline
>Reporter: Shinichi Yamashita
>Assignee: Shinichi Yamashita
>Priority: Minor
> Attachments: HIVE-12780.1.patch, HIVE-12780.2.patch, 
> HIVE-12780.3.patch
>
>
> I executed !history command in beeline. And the following results displayed.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 1.0: select
> 1.1: select
> 1.2: select
> 1.3: select
> {code}
> As a result, "1." is not necessary to output. I will change the output, such 
> as the following.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 0: select
> 1: select
> 2: select
> 3: select
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-12780) Fix the output of the history command in Beeline

2016-01-05 Thread Shinichi Yamashita (JIRA)

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

Shinichi Yamashita updated HIVE-12780:
--
Attachment: HIVE-12780.2.patch

I attach a patch file which I change the padding.

> Fix the output of the history command in Beeline
> 
>
> Key: HIVE-12780
> URL: https://issues.apache.org/jira/browse/HIVE-12780
> Project: Hive
>  Issue Type: Bug
>  Components: Beeline
>Reporter: Shinichi Yamashita
>Assignee: Shinichi Yamashita
>Priority: Minor
> Attachments: HIVE-12780.1.patch, HIVE-12780.2.patch
>
>
> I executed !history command in beeline. And the following results displayed.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 1.0: select
> 1.1: select
> 1.2: select
> 1.3: select
> {code}
> As a result, "1." is not necessary to output. I will change the output, such 
> as the following.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 0: select
> 1: select
> 2: select
> 3: select
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-12780) Fix the output of the history command in Beeline

2016-01-05 Thread Shinichi Yamashita (JIRA)

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

Shinichi Yamashita updated HIVE-12780:
--
Attachment: HIVE-12780.1.patch

> Fix the output of the history command in Beeline
> 
>
> Key: HIVE-12780
> URL: https://issues.apache.org/jira/browse/HIVE-12780
> Project: Hive
>  Issue Type: Bug
>  Components: Beeline
>Reporter: Shinichi Yamashita
>Assignee: Shinichi Yamashita
>Priority: Minor
> Attachments: HIVE-12780.1.patch
>
>
> I executed !history command in beeline. And the following results displayed.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 1.0: select
> 1.1: select
> 1.2: select
> 1.3: select
> {code}
> As a result, "1." is not necessary to output. I will change the output, such 
> as the following.
> {code}
> Beeline version 2.1.0-SNAPSHOT by Apache Hive
> beeline> !history
> 0: select
> 1: select
> 2: select
> 3: select
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)