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

Navis commented on HIVE-9091:
-----------------------------

Always welcome on more tests. +1 

> Add additional unit tests for HiveSQLException
> ----------------------------------------------
>
>                 Key: HIVE-9091
>                 URL: https://issues.apache.org/jira/browse/HIVE-9091
>             Project: Hive
>          Issue Type: Test
>          Components: JDBC
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Minor
>              Labels: easyfix, test
>             Fix For: 0.15.0
>
>         Attachments: HIVE-9091.1.patch
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> Change the function scope for the functions in HiveSQLException to be 
> private, including 
>   toString(Throwable cause, StackTraceElement[] parent) , 
>   enroll(Throwable ex, StackTraceElement[] trace, int max),
>   toStackTrace(List<String> details, StackTraceElement[] parent, int index) 
> since these serve as helper function internally. 
> Add comments for the public functions in HiveSQLException.
> To add additional unit test cases for HiveSQLException such as exception with 
> unknown source, test TStatus conversion, etc. 



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

Reply via email to