Hi, I think the SQL job is better. Flink SQL jobs can be easily shared with others for debugging. And it is more suitable for flow batch integration. For a small part of jobs which can not be expressed through SQL, we will choose a job by DataStream API.
Best, Hang ravi_suryavanshi.yahoo.com via user <user@flink.apache.org> 于2023年3月24日周五 17:25写道: > Hello Team, > Need your advice on which method is recommended considering don't want to > change my query code when the Flink is updated/upgraded to the higher > version. > > Here I am seeking advice for writing the SQL using java code(Table API > function and Expression) or using pure SQL. > > I am assuming that SQL will not have any impact if upgraded to the higher > version. > > Thanks and Regards, > Ravi >