[
https://issues.apache.org/jira/browse/HIVE-21421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16790790#comment-16790790
]
mahesh kumar behera commented on HIVE-21421:
--------------------------------------------
[^HIVE-21421.02.patch] looks fine to me
+1 pending test
> HiveStatement.getQueryId throws NPE when query is not running.
> ---------------------------------------------------------------
>
> Key: HIVE-21421
> URL: https://issues.apache.org/jira/browse/HIVE-21421
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-21421.01.patch, HIVE-21421.02.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> HiveStatement.getQueryId throws NullPointerException if it invoked without
> executing any query or query is closed. It should instead return null so that
> caller would check it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)