yihua commented on code in PR #9001:
URL: https://github.com/apache/hudi/pull/9001#discussion_r1232952517


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/commit/BaseSparkCommitActionExecutor.java:
##########
@@ -89,6 +91,13 @@
   private static final Logger LOG = 
LoggerFactory.getLogger(BaseSparkCommitActionExecutor.class);
   protected final Option<BaseKeyGenerator> keyGeneratorOpt;
 
+  static {
+    // JsonUtils for Support Spark Version >= 3.3
+    if (HoodieSparkUtils.gteqSpark3_3()) {
+      JsonUtils.registerModules();
+    }
+  }

Review Comment:
   Does Spark read side need this?  This class only handles write side, 
correct? 



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