Re: Annotation in UDF dropped

2018-04-16 Thread Fabian Hueske
Hi Viktor, Flink does not modify user code. It distributes the job JAR file to the cluster and serializes the function objects using Java serialization to ship them to the worker nodes where they are deserialized. What type of annotation gets dropped? Can you show us a small example of the code?

Annotation in UDF dropped

2018-04-16 Thread Rosenfeld, Viktor
Hi, I have a UDF that uses an annotation to the loop variable inside a for loop. I noticed that this annotation gets dropped at some point when the UDF is shipped to the TaskManager. I was told that this happens in the Optimizer but I would like to know where this happens exactly and if there i