Julian Hyde 2013-02-14, 07:02
-Re: Building logical plans
Timothy Chen 2013-02-14, 07:27
I originally tried to stitch different ones myself in unit tests, later
I've found writing a JSON string much easier to follow and tune.
I don't see why you couldn't write it in programmatically though, I think
it just takes more time.
On Wed, Feb 13, 2013 at 11:02 PM, Julian Hyde <[EMAIL PROTECTED]> wrote:
> I'm working on https://issues.apache.org/jira/browse/DRILL-34, and trying
> to build a logical plan. I'm trying to instantiate the various JSON classes
> (LogicalPlan, Scan, Write etc.) and then call
> ObjectMapper.writeValueAsString passing in the LogicalPlan. But I'm running
> into what look like consistency errors.
> It looks like my code is the first to try to build a plan programmatically
> (as opposed to by parsing a string). Should I just generate a JSON string
Jacques Nadeau 2013-02-14, 16:49
Julian Hyde 2013-02-14, 18:43