[
https://issues.apache.org/jira/browse/LENS-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajay Yadava updated LENS-984:
-----------------------------
Assignee: (was: Ajay Yadava)
> Response type of prepared query execution REST end point
> /queryapi/preparedqueries/{prepareHandle} should be wrapped in LensAPIResult
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: LENS-984
> URL: https://issues.apache.org/jira/browse/LENS-984
> Project: Apache Lens
> Issue Type: Improvement
> Components: server
> Reporter: Puneet Gupta
> Attachments: LENS-984.patch
>
>
> QueryServiceResource.query(LensSessionHandle, String, String, LensConf, Long,
> String) returns LensAPIResult<QuerySubmitResult> while
> QueryServiceResource.executePrepared(LensSessionHandle, String, String,
> LensConf, Long, String) returns QuerySubmitResult directly.
> We should wrap the response of executePrepared in LensAPIResult as
> LensAPIResult also provides proper error code and error message to the client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)