Thanks for the information. Can you please provide me pointers on how to
I can always examine the LogicalPlan structure but for a test case, I think
its an overkill, instead if I have a utility which can print LogicalPlan
(similar to LogicalPlanSerializer), then its just the matter for string
comparison which one has to do in test for verification.
On Thu, Sep 22, 2016 at 11:59 AM, Tushar Gosavi <tus...@datatorrent.com>
> There is a LogicalPlanSerializer in apex engine, which will generate
> json equivalent of DAG, which can be printed easily.
> But for verification check if right components are added in DAG by
> examining dag structure than printing it.
> - Tushar.
> On Thu, Sep 22, 2016 at 11:39 AM, Chinmay Kolhatkar
> <chin...@datatorrent.com> wrote:
> > Hi All,
> > For testing of calcite generated DAG, I want to verify whether the
> > DAG is created with right operators and streams and whether properties
> > set properly.
> > Is there any PrintWriter for the LogicalPlan object printing components
> > DAG?
> > If not, I am planning to write one for Calcite testing.
> > I was wondering if that would be useful addition to apex-core for testing
> > purpose.
> > Please share your opinion.
> > Thanks,
> > Chinmay.