Shohei Okumiya created HIVE-28265:
-------------------------------------
Summary: 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: Shohei Okumiya
`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)