The second question is that I wonder if temporal join is supported in batch mode? I tried to execute a job with temporal join in batch mode, but the sql planner reported: "unexpected correlate variable".
I did probe around and the most related issue seems to be this one:
https://issues.apache.org/jira/browse/FLINK-18825
Just want to confirm that it is not supported yet by the experts here!