[ https://issues.apache.org/jira/browse/HIVE-6535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221207#comment-15221207 ]
Thejas M Nair commented on HIVE-6535: ------------------------------------- The setting of isLogBeingGenerated in HiveStatement has to be handled. Looks like it would need to be moved to HiveQueryResultSet. Note that HiveStatement.hasMoreLogs is documented as a public method, so that would still need to be around. > 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 > > > 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)