hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <>
Subject [jira] [Created] (HIVE-12259) Command containing semicolon is broken in Beeline
Date Sat, 24 Oct 2015 20:29:27 GMT
Chaoyu Tang created HIVE-12259:

             Summary: Command containing semicolon is broken in Beeline
                 Key: HIVE-12259
             Project: Hive
          Issue Type: Bug
          Components: Beeline
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang

The Beeline command (!cmd) containing semicolon is broken. 
For example:
!connect jdbc:hive2://localhost:10001/default;principal=hive/
is broken because the included ";" makes it not to run with execCommandWithPrefix as a whole
      if (line.startsWith(COMMAND_PREFIX) && !line.contains(";")) {
        // handle the case "!cmd" for beeline
        return execCommandWithPrefix(line);
      } else {
        return commands.sql(line, getOpts().getEntireLineAsCommand());

This message was sent by Atlassian JIRA

View raw message