Also if you wish you can have a test case to check the results of your plan:
Have a look at: 
https://github.com/apache/incubator-drill/blob/master/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java

Good luck Drilling :)

- Yash



-----Original Message-----
From: Dhruv [mailto:[email protected]]
Sent: Tuesday, November 12, 2013 2:34 PM
To: [email protected]
Subject: Re: Executing Logical Plan

Welcome Narendra,
     You can read
http://mail-archives.apache.org/mod_mbox/incubator-drill-dev/201310.mbox/%3CCAA_-67eB=k38fiqukbvxub3diiuoab8xdfv3ce9gg8yudxx...@mail.gmail.com%3E

     TL;DR: use..

        $ bin/submit_plan -h
-Dhruv.

On 11/12/2013 12:54 PM, naru116 . wrote:
> Hi,
>
> I'm newbie to the Apache Drill and so please bear with me. I'm trying
> to play around with the code adding few string/math functions (e.g
> reverse
> etc) and I have been told by Jacques that one could use Logical plan
> to test these functions even if there's no support in the sqlline parser.
>
> If I create a logical plan in json file (say testreverse.json) , how
> do I execute this json file? In other words, how do I feed the json to
> interpreter to get the output??
>
> Thanks,
> Narendra
>


________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to