[ https://issues.apache.org/jira/browse/HIVE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667692#comment-13667692 ]
Jaideep Dhok commented on HIVE-4617: ------------------------------------ At present the executeStatement call in HiveServer2 blocks until the query run is complete. As a result, clients using the Thrift API have no way to get progress information about the query. A non-blocking call will be very useful in this context, as it would return an OperationHandle immediately, which the client can use to track query progress. Query execution will proceed in a background thread. > New Thrift API should provide an executeStatementAsync call to run a query in > non-blocking mode > ----------------------------------------------------------------------------------------------- > > Key: HIVE-4617 > URL: https://issues.apache.org/jira/browse/HIVE-4617 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Affects Versions: 0.11.0 > Reporter: Jaideep Dhok > Assignee: Jaideep Dhok > > Provide a way to run a queries asynchronously. Current executeStatement call > blocks until the query run is complete. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira