Andrey Khitrin created IGNITE-27741:
---------------------------------------

             Summary: SQL CLI freezes when a Tab is pressed on a table name
                 Key: IGNITE-27741
                 URL: https://issues.apache.org/jira/browse/IGNITE-27741
             Project: Ignite
          Issue Type: Bug
          Components: cli ai3
    Affects Versions: 3.2
            Reporter: Andrey Khitrin


Steps to reproduce:
 # Create several tables in a DB.
 # Run a SQL console in CLI.
 # Start to type some SQL query, like this one:

{code:sql}
SELECT COUNT(1) FROM MY_TABL<Tab>
{code}
When a Tab button is pressed during typing of a table name, the following 
happens:
 # CLI becomes irresponsible for a long time (or, maybe, forever). It doesn't 
react to new symbols.
 # Standard console commands like Ctrl+C or Ctlr+D don't work neither.

Expected behavior: CLI must not freeze when a user hits Tab. Either a table 
name must appear quickly, or simply nothing should happen (if a name cannot be 
suggested).

Current behavior is very disturbing. A user may hit Tab reflectively simply 
because it works well in many other places. But in this scenario it leads to 
the need of killing CLI completely. It's very disruptive for a flow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to