Re: Table API / SQL Queries and Code Generation

2016-04-07 Thread Gábor Horváth
Hi, Thank you for the responses! On 7 April 2016 at 12:38, Fabian Hueske wrote: > Hi Gabor, > > the Table API / SQL translator generates the code as String and ships the > String as member of the function object. > The code is compiled with Janino when the function is initialized in the > open(

Re: Table API / SQL Queries and Code Generation

2016-04-07 Thread Fabian Hueske
Hi Gabor, the Table API / SQL translator generates the code as String and ships the String as member of the function object. The code is compiled with Janino when the function is initialized in the open() method. So we are not shipping classes but compile the code at the worker. Not sure if this

Re: Table API / SQL Queries and Code Generation

2016-04-05 Thread Timo Walther
Hi Gábor, the code generation in the Table API is in a very early stage and contains not much optimization logic so far. Currently we extend the functionality to support the most important SQL operations. It will need some time until we can further optimize the generated code (e.g. for tracki

Table API / SQL Queries and Code Generation

2016-04-05 Thread Gábor Horváth
Hi! During this summer I plan to introduce runtime code generation in the serializers [1] to improve the performance of Flink. As Stephan Ewen pointed in Table API / SQL effort code generation will also be used to generate functions and data types. In order to share as much code as possible and a