JingsongLi commented on code in PR #1026:
URL: https://github.com/apache/incubator-paimon/pull/1026#discussion_r1177273324


##########
paimon-flink/paimon-flink-common/pom.xml:
##########
@@ -81,6 +82,18 @@ under the License.
             <version>${frocksdbjni.version}</version>
         </dependency>
 
+        <dependency>
+            <groupId>com.esri.geometry</groupId>
+            <artifactId>esri-geometry-api</artifactId>
+            <version>${geometry.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.fasterxml.jackson.core</groupId>
+                    <artifactId>jackson-core</artifactId>
+                </exclusion>
+            </exclusions>

Review Comment:
   provided?



##########
paimon-flink/paimon-flink-common/pom.xml:
##########
@@ -81,6 +82,18 @@ under the License.
             <version>${frocksdbjni.version}</version>
         </dependency>
 
+        <dependency>

Review Comment:
   Put this together with cdc dependency, and add comment for what.



##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/action/cdc/mysql/MySqlDebeziumJsonEventParser.java:
##########
@@ -200,8 +203,10 @@ public List<CdcRecord> getRecords() {
     }
 
     private Map<String, String> extractRow(JsonNode recordRow) {
-        Map<String, String> recordMap =
-                objectMapper.convertValue(recordRow, new 
TypeReference<Map<String, String>>() {});
+
+        // the geometry,point type can not be converted to string, so we 
convert it to Object first.
+        Map<String, Object> recordMap =

Review Comment:
   Can we just rename this to `jsonMap`?
   And create a new map `Map<String, String> resultMap`.



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