Re: Extending Flink's SQL-Parser

2019-09-18 Thread Rong Rong
Hi Dominik, To add to Rui's answer. there are other examples I can think of on how to extend Calcite's DDL syntax is already in Calcite's Server module [1] and one of our open-sourced project [2]. you might want to check them out. -- Rong [1] https://github.com/apache/calcite/blob/master/server/

Re: Extending Flink's SQL-Parser

2019-09-16 Thread Rui Li
Hi Dominik, I think you can check "parserImpls.ftl" to find out how Flink extends Calcite's original syntax to support features like CREATE TABLE and DROP TABLE, and follow those examples to implement your own syntax. It may also be helpful to check the pom.xml of flink-sql-parser to see how we us

Extending Flink's SQL-Parser

2019-09-16 Thread dominik.werner.groenin...@student.uni-augsburg.de
Hey there, I have to extend Flink's SQL-parser such that it accepts and evaluates select-queries with different syntax. Furthermore I use Eclipse Oxygen with Maven plugin and Flink Release 1.8. 0. What I believe to know: For parsing SQL-queries Flink-Table uses Apache Calcite's SQL-parser. Fl