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



##########
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:
       Let me add more tests.




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