Can you share your configuration xml?
I think it’s a binary masharller configuration issue.

From: Alexey Kukushkin <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, 13 September 2017 at 17:12
To: "[email protected]" <[email protected]>
Subject: Re: Issue when executing sql query using REST API

Hi Ray,

Just copied your code into a simple single file sample project, ran it and your 
query worked fine for me:

1.   Request URL:
http://127.0.0.1:8080/ignite?cacheName=person&pageSize=1&qry=limit+2&cmd=qryexe&type=Person&;
2.   Request Method:
GET
3.   Status Code:
200 OK
4. ---------------------
5. 
{"successStatus":0,"error":null,"response":{"items":[{"key":0,"value":{"id":0,"firstName":"John","lastName":"Doe","salary":2000.0,"organizationId":1}}],"last":false,"fieldsMetadata":[],"queryId":2},"sessionToken":null}

Reply via email to