Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use close command #139

Closed
arina-ielchiieva opened this issue Sep 8, 2018 · 2 comments
Closed

Unable to use close command #139

arina-ielchiieva opened this issue Sep 8, 2018 · 2 comments

Comments

@arina-ielchiieva
Copy link
Collaborator

!close
Ambiguous command: [close, closeall]

There is also a unit test in code for this issue:

  /**
   * Tests the "close" command,
   * [HIVE-5768] Beeline connection cannot be closed with '!close' command.
   */
  @Test
  public void testClose() throws Throwable {
    checkScriptFile("!close 1\n", false, equalTo(SqlLine.Status.OK),
            equalTo("xx"));
  }

In case of duplicates before throwing the exception we should look for the exact match.

@arina-ielchiieva
Copy link
Collaborator Author

Opened PR - #140.

@julianhyde
Copy link
Owner

Fixed in 482f573, PR #140. Thanks @arina-ielchiieva!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants