Missed the email because was not subscribed to the mailing list.
Anyways thanks for the pointer, will have a look at RelJson and RelWriterTest.
Filed a ticket here - https://issues.apache.org/jira/browse/CALCITE-5219
On 2022/07/22 17:28:45 Julian Hyde wrote:
> I don’t know of any such facility.
Parag Jain created CALCITE-5219:
---
Summary: Serializing parsed SqlNode/AST
Key: CALCITE-5219
URL: https://issues.apache.org/jira/browse/CALCITE-5219
Project: Calcite
Issue Type: Wish
I don’t know of any such facility. I suppose someone could do for AST trees
what RelJson and RelWriterTest do for RelNode trees.
Can you please log a Jira case for this? It’s good to have a placeholder in
case someone feels like picking it up in future.
Julian
[1]
Hello,
We are using calcite in our project to parse and manipulate SQL. We have
also extended the parser for our use case.
Now, we would like to serialize the parsed SqlNode with type information
and pass it to a different system over wire for query intelligence. We were
thinking of using