[ 
https://issues.apache.org/jira/browse/HIVE-17161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16099303#comment-16099303
 ] 

Gopal V commented on HIVE-17161:
--------------------------------

AFAIK, you need JLine 3 for this.

https://github.com/jline/jline3/blob/master/reader/src/main/java/org/jline/reader/Parser.java#L25

> BeeLine up arrow key should show the last sql instead of last line
> ------------------------------------------------------------------
>
>                 Key: HIVE-17161
>                 URL: https://issues.apache.org/jira/browse/HIVE-17161
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>
> Currently, when you press Up arrow on beeline prompt, it shows the last line 
> of the previous sql. It is hard to execute the previous sql if it was 
> executed using multiple lines. It would be good to improve this experience by 
> fetching the last command executed instead of just the last line of the 
> previous command.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to