iodone commented on issue #1678:
URL: 
https://github.com/apache/incubator-kyuubi/issues/1678#issuecomment-1004759215


   As I understand it, the remote service responds to the client's current 
operation via Thrift Reps `isHasResultSet` whether there are results returned. 
if there is no resultSet, the client mistakenly believes that it can currently 
go to fetch the results, which will lead to an exception when calling 
`client.getResultSetMetadata(_remoteOpHandle)`. 
   
![image](https://user-images.githubusercontent.com/5451385/148057734-894bf0ed-e4fe-45be-9880-e30b05d8f1b8.png)
   
   
   `setHasResultSet(_remoteOpHandle.isHasResultSet)` to tell the client that 
there are no results returned by the server and that it does not need to 
continue fetch the results.


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to