I am struggling to generate the SQL statement using the Presto Parser. Here are the usecase details-
- Parse existing SQL statement which is generated using external frontend ui (nodejs app).
- Append new columns and where clause conditions.
- Regenerate SQL Statement. These SQL will be executed on Hive/Spark.
So far I had a success on step 1 & 2 using the Facebook Presto parser and not able to figure out how to generate SQL back?
Shall I use some other library to generate SQL? any suggestions here would be appreciated.