slinkydeveloper commented on a change in pull request #18427:
URL: https://github.com/apache/flink/pull/18427#discussion_r793634030



##########
File path: 
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/nodes/exec/spec/DynamicTableSourceSpec.java
##########
@@ -110,39 +106,73 @@ private DynamicTableSource getTableSource(FlinkContext 
flinkContext) {
         return tableSource;
     }
 
-    @JsonIgnore
     public ScanTableSource getScanTableSource(FlinkContext flinkContext) {
         DynamicTableSource tableSource = getTableSource(flinkContext);
         if (tableSource instanceof ScanTableSource) {
             return (ScanTableSource) tableSource;
         } else {
             throw new TableException(
                     String.format(
-                            "%s is not a ScanTableSource.\nplease check it.",
+                            "%s is not a ScanTableSource.\n" + "please check 
it.",

Review comment:
       Sometimes I forget we have an automated formatter :laughing:




-- 
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]


Reply via email to