Philipp
01/10/2025, 1:25 PMPedro Mázala
01/13/2025, 2:41 PMresources and load them before spinning the job up.
I like that for 2 main reasons:
1. Java code gets clean and you see only the "infra" part of it
2. It's easier to people outside java to edit and understand the SQL files.
I created a small class to load all SQL classes in a specific directory. I list the files, order them by name and execute them in order. This gives me a feeling of "migrations-like" approach. I either use timestamp as a file prefix OR enumerated files from 001 to XXX.Philipp
01/13/2025, 2:44 PMresources now but was very unsure, as I'm not only new to flink but also to java (coming from .NET world).
Thanks for the confirmation though, helps big time! 🙂Pedro Mázala
01/13/2025, 2:47 PMPhilipp
01/13/2025, 2:49 PMPedro Mázala
01/13/2025, 2:52 PMinsert (...) select (...) I have to break them into two jobs/pipelines.
I do have a common project (not job) which holds such infrastructure pieces.Philipp
01/13/2025, 2:56 PMPedro Mázala
01/14/2025, 9:29 AM