WenDing-Y commented on code in PR #9558:
URL: https://github.com/apache/seatunnel/pull/9558#discussion_r2215958747


##########
seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java:
##########
@@ -219,7 +231,14 @@ private Schema buildPaimonSchema(@NonNull 
org.apache.paimon.schema.TableSchema s
         Schema.Builder builder = Schema.newBuilder();
         schema.fields()
                 .forEach(field -> builder.column(field.name(), field.type(), 
field.description()));
-        builder.options(schema.options());
+        Map<String, String> map = new HashMap<>();
+        schema.options()
+                .forEach(
+                        (x, y) -> {
+                            map.put(x, y);
+                        });
+        map.remove("path");

Review Comment:
   Paimon now includes path validation, and this path is not permitted



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