See inline. > On Jul 16, 2015, at 4:36 AM, Stefán Baxter <[email protected]> wrote: > > Hi, > > I have a few questions regarding the rest API. > > - Is it possible that the rest api (query.json) should return numeric > values as strings?
There is a ticket for this: https://issues.apache.org/jira/browse/DRILL-2373 <https://issues.apache.org/jira/browse/DRILL-2373> > - count(*) being an example of that > - calls for conversion on the browser side > - I find no obvious setting for this > > - Is there any other serialization/encoding available apart from JSON? > (like Protobuff) Not currently. > - naming the REST endpoint after a serialization may be a hint here > > - Is it possible to use gzipped response to minimize the total delivery > time? That could be an enhancement. > > I'm using this interface instead of the JDBC driver and would like to do > everything needed to speed it up. AFAIK, there is not much you can to to speed REST API up. Just in case, here’s a link on how to use Drill using ODBC: https://www.mapr.com/blog/using-drill-programmatically-python-r-and-perl <https://www.mapr.com/blog/using-drill-programmatically-python-r-and-perl> > Regards, > -Stefan Thank you, Sudheesh
