Just got it to run on my Mac; looks nice (though the results are flushed to the left, like  55_____  instead of _____55 )

Thanks Charles for making SQLPad work with Drill !

And for anyone else wanting to try (on a Mac), here are the steps used:

$ git clone https://github.com/cgivre/sqlpad.git

$ cd sqlpad/

$ git checkout drill

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

$ source ~/.bashrc    ### to get the nvm in the path

<< install "node" from https://nodejs.org/en/download/ >>

$ sudo npm i npm -g   ### need sudo for write access to /usr/local/lib/node_modules

$ npm install ### had some errors, so ran the following

$ npm audit fix ### still has some errors downloading fsevents-binaries

$ npm start

At this point, it opens your browser and connects to localhost:3000 .

Start Drill in embedded mode, and in the browser configure a Drill connection ( to 127.0.0.1:8048 , don't care about user/password).

Run queries ......

    Thanks,

           Boaz


On 11/29/18 7:26 AM, Charles Givre wrote:
All,
There is a really nice open source tool out there called SQLPad.  In addition 
to executing basic SQL Queries, SQLPad enables to to export results and produce 
basic visualizations.  Until recently, SQLPad did not support Drill however, I 
just wrote a first attempt at Drill support which you can download here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cgivre_sqlpad_tree_drill&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=PqKay2uOMZUqopDRKNfBtZSlsp2meGOxWNAVHxHnXCk&m=SDFB6Jw9G8FdLYUKjQoQK8aUTMY05hzjbfcCgSQIvxI&s=zTMNxDd3-5PocjYj_K7wajK_3dCsEUVJmnEW5UszMiQ&e=
 
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_cgivre_sqlpad_tree_drill&d=DwIFaQ&c=cskdkSMqhcnjZxdQVpwTXg&r=PqKay2uOMZUqopDRKNfBtZSlsp2meGOxWNAVHxHnXCk&m=SDFB6Jw9G8FdLYUKjQoQK8aUTMY05hzjbfcCgSQIvxI&s=zTMNxDd3-5PocjYj_K7wajK_3dCsEUVJmnEW5UszMiQ&e=>

Please check it out and let me know what you think.
Best,
— C

Reply via email to