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

asish kumar patra commented on HIVE-28265:
------------------------------------------

I have submitted a PR. Can someone please review and run CI?

> Improve the error message for hive.query.timeout.seconds
> --------------------------------------------------------
>
>                 Key: HIVE-28265
>                 URL: https://issues.apache.org/jira/browse/HIVE-28265
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 4.0.0
>            Reporter: Shohei Okumiya
>            Assignee: asish kumar patra
>            Priority: Major
>              Labels: pull-request-available
>
> `hive.query.timeout.seconds` seems to be working correctly, but it always 
> says it timed out in 0 second.
> {code:java}
> 0: jdbc:hive2://hive-hiveserver2:10000/defaul> set 
> hive.query.timeout.seconds=1s;
> No rows affected (0.111 seconds)
> 0: jdbc:hive2://hive-hiveserver2:10000/defaul> select count(*) from test;
> ...
> Error: Query timed out after 0 seconds (state=,code=0){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to