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 correct
> DAG is created with right operators and streams and whether properties are
> set properly.
>
> Is there any PrintWriter for the LogicalPlan object printing components of
> 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.

Reply via email to