hackergin commented on code in PR #24866:
URL: https://github.com/apache/flink/pull/24866#discussion_r1622186383
##########
flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/workflow/scheduler/EmbeddedQuartzScheduler.java:
##########
@@ -214,16 +248,230 @@ private void checkJobExists(JobKey jobKey, String
errorMsg)
}
}
+ @VisibleForTesting
+ public Scheduler getQuartzScheduler() {
+ return quartzScheduler;
+ }
+
/** The {@link Job} implementation for embedded quartz scheduler. */
- private class EmbeddedSchedulerJob implements Job {
+ public static class EmbeddedSchedulerJob implements Job {
Review Comment:
Because the scheduler will use reflection to initialize objects, it must be
public here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]