Hi Oleg,

  The QuerySubmitter program is an example program and  with the api=sync
parameter does not print the actual values. (There is a JIRA open to fix
that : DRILL-2435).

  Can you try with api=async, you should see the results.

Parth


On Sat, Jul 11, 2015 at 6:26 PM, Oleg Shirokikh <[email protected]>
wrote:

> Hello, I've built C++ client for Drill and it seems to run, but I can't get
> the results of the query - they are always empty... Doing same query
> through JDBC shell works fine.. Also I can see my C++ queries on Web UI and
> the status is COMPLETED...
>
> querrySubmitter query="SELECT full_name FROM cp.`employee.json` LIMIT 3;"
> type=sql connectStr=local=local:31010 api=sync
>
>
> Connected!
>
> full_name
> ROW: 1
> ROW: 2
> ROW: 3
>
> Thanks!
> Oleg
>

Reply via email to