Hi Anji,
Can you provide more details (what queries are issued, what output is produced, 
etc.) for your additional questions to be answered?
-- Roman
 
 

    On Thursday, September 14, 2017, 4:37:08 AM GMT+9, ANJANEYA PRASAD 
NIDUBROLU <anjaney...@gmail.com> wrote:  
 
 Hello Roman,
Thanks...I have tried adding '&' and looks like it will work, currently I am 
getting exceptions due to class/ type i created.But, one doubt will REST API 
not accept single argument?
In my earlier example, i tried arg1=xxx&qry=yyyy+%3D+%3F, then it is 
complaining that parameter '#1' is not set.Again i tried the same by adding 
another predicate and came with successStatus = 0.
Similarly, how about more than 3 or 4 arguments, will i be able to use arg3, 
arg4, ....?
Please suggest.
Thanks,Anji.
On Wed, Sep 13, 2017 at 9:44 AM, Roman Shtykh <rsht...@yahoo.com> wrote:

Hi Anji,
The error says that you don't provide sql query.You might miss "&" before "qry".

-- Roman
 

    On Wednesday, September 13, 2017, 2:42:12 AM GMT+9, ANJANEYA PRASAD 
NIDUBROLU <anjaney...@gmail.com> wrote:  
 
 Thanks Evgenii...
Actually i have included "Type" and "CacheName" also. But i pasted wrong url by 
mistakenly. The result is still the same. Here in the query/ REST url nowhere i 
am using "sql". May be "qry" from the REST url/command will be parsed to "sql". 
Not sure how and where this parsing is happening and what is wrong with the url 
I am trying.
Any thoughts please?
Thanks,Anji.
On Tuesday, September 12, 2017, ezhuravlev <e.zhuravlev...@gmail.com> wrote:

Hi,

I don't see in your query defined cacheName and type parameters. If cache
name not provided, default cache will be used.

You can find all this information in the documentation:
https://apacheignite.readme.io /docs/rest-api#section-sql-que ry-execute

Also, have you checked logs from Ignite node?

Evgenii



--
Sent from: http://apache-ignite-users.705 18.x6.nabble.com/

  

  

Reply via email to