yzeng1618 commented on code in PR #10389:
URL: https://github.com/apache/seatunnel/pull/10389#discussion_r2719857396


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/sink/TablePlaceholderProcessor.java:
##########
@@ -190,6 +202,12 @@ public static ReadonlyConfig replaceTablePlaceholder(
                                         + "}")) {
                             strValue = replaceTableFieldNames(strValue, 
table.getTableSchema());
                             listValue = 
Arrays.asList(strValue.split(FIELD_DELIMITER));
+                        } else if (strValue.equals(
+                                "${"
+                                        + 
TablePlaceholder.REPLACE_PARTITION_KEYS_KEY
+                                                .getPlaceholder()
+                                        + "}")) {
+                            listValue = new 
ArrayList<>(table.getPartitionKeys());

Review Comment:
   The issues mentioned have been fixed.



##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-iceberg-e2e/src/test/java/org/apache/seatunnel/e2e/connector/iceberg/IcebergSinkIT.java:
##########
@@ -127,8 +154,13 @@ private List<Record> loadIcebergTable() {
         IcebergTableLoader tableLoader =
                 IcebergTableLoader.create(new 
IcebergSourceConfig(ReadonlyConfig.fromMap(configs)));
         tableLoader.open();
+        return tableLoader.loadTable();

Review Comment:
   The issues mentioned have been fixed.



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