Hi All,

I am exploring Drill's REST API.

To query, one needs to make POST request to
http://localhost:8047/query.json
with request body:

 {
   "queryType" : "SQL",
   "query" : "<Drill Query>"
 }

Response Body:
 {
   "columns" : [ ...],
   "rows" : [ {...},...]
 }

There is no query Id in the response body. Is there any specific reason in
not exposing query Id?
To track profile of query, one needs query Id.

To get all running queries by making a GET request to
http://localhost:8047/profiles.json & then fetching query Id is lengthy
process.


Regards,
Devender Yadav
Software Developer
Impetus Infotech Pvt Ltd

Reply via email to