KarmaGYZ commented on code in PR #23455:
URL: https://github.com/apache/flink/pull/23455#discussion_r1336669036
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/PlannerQueryOperation.java:
##########
@@ -36,13 +37,18 @@
/** Wrapper for valid logical plans generated by Planner. */
@Internal
-public class PlannerQueryOperation implements QueryOperation {
-
+public class PlannerQueryOperation implements QuerySqlOperation {
Review Comment:
If it is a special requirement, we may introduce another interface like
"SqlContentSupplier". Make this class implement "QueryOperation" and
"QuerySqlSupplier".
##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/operations/PlannerQueryOperation.java:
##########
@@ -36,13 +37,18 @@
/** Wrapper for valid logical plans generated by Planner. */
@Internal
-public class PlannerQueryOperation implements QueryOperation {
-
+public class PlannerQueryOperation implements QuerySqlOperation {
Review Comment:
Why only this class needs to implement the newly introduced protocol?
--
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]