[
https://issues.apache.org/jira/browse/HIVE-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15231519#comment-15231519
]
Vaibhav Gumashta commented on HIVE-6535:
----------------------------------------
Discuss with [~thejas] and it makes sense to implement this as a non-standard
api call. Looks like there is an expectation that Statement#execute be a
blocking call.
> JDBC: async wait should happen during fetch for results
> -------------------------------------------------------
>
> Key: HIVE-6535
> URL: https://issues.apache.org/jira/browse/HIVE-6535
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2, JDBC
> Affects Versions: 0.14.0, 1.2.1, 2.0.0
> Reporter: Thejas M Nair
> Assignee: Vaibhav Gumashta
> Attachments: HIVE-6535.1.patch, HIVE-6535.2.patch
>
>
> The hive jdbc client waits query completion during execute() call. It would
> be better to block in the jdbc for completion when the results are being
> fetched.
> This way the application using hive jdbc driver can do other tasks while
> asynchronous query execution is happening, until it needs to fetch the result
> set.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)