[ https://issues.apache.org/jira/browse/HIVE-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801097#comment-13801097 ]
Vaibhav Gumashta commented on HIVE-5441: ---------------------------------------- [~prasadm] Another query: so I'm guessing that after compilation, in the use case you pointed to, you're planning to use the presence of fetch task in the plan (like here: https://github.com/apache/hive/blob/trunk/service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java#L110) to determine if it will generate a result set before the query is run, and not set TOperationHandle#hasResultSet to true? > Async query execution doesn't return resultset status > ----------------------------------------------------- > > Key: HIVE-5441 > URL: https://issues.apache.org/jira/browse/HIVE-5441 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 0.12.0 > Reporter: Prasad Mujumdar > Assignee: Prasad Mujumdar > Attachments: HIVE-5441.1.patch, HIVE-5441.3.patch > > > For synchronous statement execution (SQL as well as metadata and other), the > operation handle includes a boolean flag indicating whether the statement > returns a resultset. In case of async execution, that's always set to false. -- This message was sent by Atlassian JIRA (v6.1#6144)