tsreaper commented on a change in pull request #16792:
URL: https://github.com/apache/flink/pull/16792#discussion_r689371465



##########
File path: 
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/connector/print/table/PrintTableSinkFactory.java
##########
@@ -113,19 +125,35 @@ public ChangelogMode getChangelogMode(ChangelogMode 
requestedMode) {
         @Override
         public SinkRuntimeProvider 
getSinkRuntimeProvider(DynamicTableSink.Context context) {
             DataStructureConverter converter = 
context.createDataStructureConverter(type);
+            staticPartitions.forEach(
+                    (key, value) -> {
+                        printIdentifier = null != printIdentifier ? 
printIdentifier + ":" : "";
+                        printIdentifier += key + "=" + value;
+                    });

Review comment:
       These changes are not covered. Consider adding a test in 
`PrintConnectorITCase` so that the result shows this `printIdentifier`.




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