[ 
https://issues.apache.org/jira/browse/FLINK-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14747205#comment-14747205
 ] 

Aljoscha Krettek commented on FLINK-2684:
-----------------------------------------

For the Table API to work we would only need to move the code generation to the 
pre-flight phase, ship the code as a string, and then compile it at runtime 
using Janino.

Right now, both the code generation and compilation happen at runtime.

> Make TypeInformation non-serializable again by removing Table API's need for 
> it
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-2684
>                 URL: https://issues.apache.org/jira/browse/FLINK-2684
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API
>            Reporter: Till Rohrmann
>            Priority: Minor
>
> Currently, the {{TypeInformations}} must be serializable because they are 
> shipped with UDFs of the Table API to the TMs. There the Table API code is 
> generated and compiled. By generating the code on the client and shipping the 
> code as strings, we could get rid of this dependency. As a consequence, the 
> {{TypeInformations}} can be non-serializable again, as they were intended to 
> be.
> Maybe [~aljoscha] can provide some more implementation details here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to