You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/07/26 21:00:01 UTC

[GitHub] [hive] ayushtkn commented on pull request #1321: HIVE-23935. Fetching primaryKey through beeline fails with NPE.

ayushtkn commented on pull request #1321:
URL: https://github.com/apache/hive/pull/1321#issuecomment-664039641


   Reason -
   ``  public boolean primarykeys(String line) throws Exception {
       return metadata("getPrimaryKeys", new String[] {
           beeLine.getConnection().getCatalog(), null,
           arg1(line, "table name"),});``
   Db_Name is passed `null` from `Command.java` and that is a valid value, which is handled later at `MetaStoreDirectSql.java`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org