[ 
https://issues.apache.org/jira/browse/HIVE-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757162#comment-13757162
 ] 

Phabricator commented on HIVE-4617:
-----------------------------------

vaibhavgumashta has commented on the revision "HIVE-4617 [jira] 
ExecuteStatementAsync call to run a query in non-blocking mode".

INLINE COMMENTS
  service/src/java/org/apache/hive/service/cli/operation/SQLOperation.java:144 
I agree that the client should get a richer error response. However, the 
problem is that a thrift response uses the TStatus object (which has detailed 
error msg), which it while a non-thrift response simply returns the 
OperationState. I think this will need a relook at how TStatus is build from 
OperationState and other information and also whether there is any use case of 
having CLIService as a public interface. I'd recommend a new JIRA for this.

REVISION DETAIL
  https://reviews.facebook.net/D12507

To: JIRA, vaibhavgumashta
Cc: cwsteinbach, thejas

                
> 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.12.0
>            Reporter: Jaideep Dhok
>            Assignee: Vaibhav Gumashta
>         Attachments: HIVE-4617.D12417.1.patch, HIVE-4617.D12417.2.patch, 
> HIVE-4617.D12417.3.patch, HIVE-4617.D12417.4.patch, HIVE-4617.D12417.5.patch, 
> HIVE-4617.D12417.6.patch, HIVE-4617.D12507.1.patch, HIVE-4617.D12507.2.patch, 
> HIVE-4617.D12507Test.1.patch
>
>
> 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

Reply via email to