Hi Tim, The plan loaded ($DRILL_SRC/exec/ref/src/test/resources/simple_plan.json) has a logical ops sequence.
// planString is correctly read, with a op sequence, file attached. planString = Files.toString(new File(jsonFile), Charsets.UTF_8); // the plan is not parsed from the string correctly LogicalPlan plan = LogicalPlan.parse(config, planString); Thanks, Shrinidhi. On Fri, Oct 18, 2013 at 2:44 AM, Timothy Chen <[email protected]> wrote: > Hi Shrinidi, > > This logical plan has no logical operators (ie: Scan, Project, Store), so > it won't perform any action. > > If you look at other logical plans in our tests, you can see examples where > we're loading from files and performing querying on those. > > Can you show us what simple_plan.json you're using? > > Tim > > > On Thu, Oct 17, 2013 at 1:26 PM, shrinidhi chaudhari < > [email protected]> wrote: > > > Hello, > > I ran the Interpreter with the provided plan (simple_plan.json) and did > not > > get any output on the console. I verified if it could read the JSON plan > > correctly. > > When I try to look at the LogicalPlan parsed from simple_plan.json, I get > > the following: > > > > { > > head : { > > type : "APACHE_DRILL_LOGICAL", > > version : 1, > > generator : { > > type : "manual", > > info : "na" > > } > > }, > > storage : { > > console : { > > type : "console" > > }, > > fs1 : { > > type : "fs" > > }, > > cp : { > > type : "classpath" > > } > > }, > > query : [ ] > > } > > > > What might be the issue here? > > > > -- > > Shrinidhi Chaudhari*.* > > > -- Shrinidhi Chaudhari*.*
simple_plan.json
Description: application/json
