wangyum commented on pull request #29933:
URL: https://github.com/apache/spark/pull/29933#issuecomment-707600968


   Another minor issue is that the error message is incorrect, but it seems 
that it should be fixed on the Hive side:
   ```
   0: jdbc:hive2://localhost:10000/default> set 
spark.sql.thriftServer.queryTimeout=5;
   +--------------------------------------+--------+
   |                 key                  | value  |
   +--------------------------------------+--------+
   | spark.sql.thriftServer.queryTimeout  | 5      |
   +--------------------------------------+--------+
   1 row selected (0.037 seconds)
   0: jdbc:hive2://localhost:10000/default> select 
java_method('java.lang.Thread', 'sleep', 10000L);
   Error: Query timed out after 0 seconds (state=,code=0)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to