[ https://issues.apache.org/jira/browse/HIVE-5768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938460#comment-13938460 ]
Xuefu Zhang commented on HIVE-5768: ----------------------------------- Sorry for chiming in late, but I think there are two sides of the issue underneath: 1. prefix match is used for autocomplete (when tab is pressed) 2. exact match for execution. Currently #1 is used for both, which caused the problem seen. However, if we switch to #2, then we will lost #1. I tried to the patch, and it seems that autocomplete stops working, and additionally, somehow I got an exception for !command. There might be a bit more work required for this problem. > Beeline connection cannot be closed with !close command > ------------------------------------------------------- > > Key: HIVE-5768 > URL: https://issues.apache.org/jira/browse/HIVE-5768 > Project: Hive > Issue Type: Bug > Components: CLI > Reporter: Navis > Assignee: Navis > Priority: Trivial > Attachments: HIVE-5768.1.patch.txt, HIVE-5768.2.patch.txt, > HIVE-5768.3.patch.txt, HIVE-5768.4.patch.txt > > > NO PRECOMMIT TESTS > {noformat} > 0: jdbc:hive2://localhost:10000/db2> !close > Ambiguous command: [close, closeall] > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)