ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "16616221@qq.com" <16616...@qq.com>
Subject Re: SqlQuery Error
Date Mon, 28 Mar 2016 13:46:31 GMT
hi yakov,

Thank you very much for you reply.
Now I can execute sql query and fields query correctly.

But I still can not execute sql query by rest api. For example:

http://localhost:8080/ignite?cmd=qryfldexe&cacheName=TestTable1Cache&qry=select+id+from++testtable1

no data response.

http://localhost:8080/ignite?cmd=qryexe&type=TestTable1&pzs=10&cacheName=TestTable1Cache&arg0=2&qry=id%3d%3f

{"error":"class org.apache.ignite.IgniteException: Failed to find SQL table
for type: TestTable1","response":null,"sessionToken":"","successStatus":1}

Any advice?  Thanks.

Tony






--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SqlQuery-Error-tp3658p3708.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message