Re: Serializing parsed SqlNode/AST

2022-07-26 Thread Parag Jain
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.

[jira] [Created] (CALCITE-5219) Serializing parsed SqlNode/AST

2022-07-26 Thread Parag Jain (Jira)
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

Re: Serializing parsed SqlNode/AST

2022-07-22 Thread Julian Hyde
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]

Serializing parsed SqlNode/AST

2022-07-21 Thread Parag Jain
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