Re: Compile time checking of SQL

2021-02-22 Thread Sebastián Magrí
Thanks a lot Timo! On Mon, 22 Feb 2021 at 08:19, Timo Walther wrote: > Yes, this is possible. You can run `tableEnv.sqlQuery("...").explain()` > or `tableEnv.toRetractStream(table)` which would trigger the complete > translation of the SQL query without executing it. > > Regards, > Timo > > On 2

Re: Compile time checking of SQL

2021-02-22 Thread Timo Walther
Yes, this is possible. You can run `tableEnv.sqlQuery("...").explain()` or `tableEnv.toRetractStream(table)` which would trigger the complete translation of the SQL query without executing it. Regards, Timo On 20.02.21 18:46, Sebastián Magrí wrote: I mean the SQL queries being validated when I

Re: Compile time checking of SQL

2021-02-20 Thread Sebastián Magrí
I mean the SQL queries being validated when I do `mvn compile` or any target that runs that so that basic syntax checking is performed without having to submit the job to the cluster. On Thu, 18 Feb 2021 at 16:17, Timo Walther wrote: > Hi Sebastián, > > what do you consider as compile time? If y

Re: Compile time checking of SQL

2021-02-18 Thread Timo Walther
Hi Sebastián, what do you consider as compile time? If you mean some kind of SQL editor, you could take a look at Ververica platform (the community edition is free): https://www.ververica.com/blog/data-pipelines-with-flink-sql-on-ververica-platform Otherwise Flink SQL is always validated at

Compile time checking of SQL

2021-02-18 Thread Sebastián Magrí
Is there any way to check SQL strings in compile time? -- Sebastián Ramírez Magrí