Can anyone help me? I would like to get a good understanding of what's going on.
Asked
Active
Viewed 64 times
0
-
Could you please not link images, but copy the code examples to the question itself. This way they won't get outdated. – Dawid Wysakowicz Mar 04 '19 at 15:33
1 Answers
1
The PatternFlatSelectFunction
has to be Serializable
as it is sent over to all TaskManagers.
If I understood you correctly you are trying to execute DataSet
program from within the SelectFunction
. That is a completely wrong approach and this is not possible, as that would mean you are spawning new jobs from within TaskManagers.
You may use other libraries to query your DB from within PatternSelectFunction
. Also make sure it is Serializable
.

Dawid Wysakowicz
- 3,402
- 17
- 33