That would likely be the best approach if you have some specific JSON
format you're trying to generate. If you're happy with a JSON format
defined by Calcite, you can look at RelJsonWriter.

--
Michael Mior
[email protected]

Le dim. 13 déc. 2020 à 05:36, Muhammad Gelbana <[email protected]> a écrit :
>
> I would use a visitor to traverse the optimized/physical plan.
>
>
>
> On Sun, Dec 13, 2020 at 6:42 AM Bhavya Aggarwal <[email protected]> wrote:
>
> > Hi All,
> >
> > We need to generate a JSON object for the physical execution tree that has
> > been created. Is there an option in Calcite that we can use to do this. I
> > am not sure what is the right approach to do it. Please let me know if
> > there are different ways to achieve this.
> >
> > Regards
> > Bhavya
> >
> > --
> > Your feedback matters - At Knoldus we aim to be very professional in our
> > quality of work, commitment to results, and proactive communication. If
> > you
> > feel otherwise please share your feedback
> > <https://forms.gle/Ax1Te1DDpirAQuQ8A> and we would work on it.
> >

Reply via email to