xtern commented on a change in pull request #7648: IGNITE-12857 Put custom 
objects via REST
URL: https://github.com/apache/ignite/pull/7648#discussion_r409839084
 
 

 ##########
 File path: 
modules/rest-http/src/main/java/org/apache/ignite/internal/processors/rest/protocols/http/jetty/GridJettyRestHandler.java
 ##########
 @@ -876,9 +805,11 @@ else if (cmd == CLUSTER_ACTIVE || cmd == CLUSTER_ACTIVATE)
             case EXECUTE_SQL_FIELDS_QUERY: {
                 RestQueryRequest restReq0 = new RestQueryRequest();
 
+                String cacheName = (String)params.get(CACHE_NAME_PARAM);
+
                 restReq0.sqlQuery((String)params.get("qry"));
 
-                restReq0.arguments(values(null, "arg", params).toArray());
+                restReq0.arguments(new Converter(cacheName).values( null, 
"arg", params).toArray());
 
 Review comment:
   Fixed

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to