You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2014/11/21 02:57:33 UTC

[jira] [Commented] (HIVE-8825) SQLCompletor catches Throwable and ignores it

    [ https://issues.apache.org/jira/browse/HIVE-8825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220396#comment-14220396 ] 

Brock Noland commented on HIVE-8825:
------------------------------------

Let's change Throwable to Exception 

and change:

{noformat}
LOG.debug("fail to get SQL key words from database metadata due to the exception: ", t);
{noformat}

to

{noformat}
LOG.debug("fail to get SQL key words from database metadata due to the exception: " + e, e);
{noformat}

> SQLCompletor catches Throwable and ignores it
> ---------------------------------------------
>
>                 Key: HIVE-8825
>                 URL: https://issues.apache.org/jira/browse/HIVE-8825
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Brock Noland
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-8825.patch
>
>
> We should be catching the specific exception which is thrown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)