If I understand what you ask correctly, you could try and use the --run option in sqlline
Example: bin/sqlline -u jdbc:drill:zk=<IP>:<Port> --run=benchmark.sql > results.txt -Abhishek On Wed, Sep 2, 2015 at 4:22 PM, Edmon Begoli <[email protected]> wrote: > I have a query I would to benchmark in a batch. > > Let's call it benchmark.sql > > Is there a way to execute it in some way from the shell where I would not > need to go in the drill shell. > > Something like: > > $drill-cli benchmark.sql > results.txt > > So I can parse and post-process the execution times. >
