You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "xuzifu666 (via GitHub)" <gi...@apache.org> on 2023/06/17 04:33:31 UTC
[GitHub] [hudi] xuzifu666 commented on a diff in pull request #9001: [HUDI-6402] Hudi Spark3.3 and upper version need close JavaTimeModule For JsonUtils
xuzifu666 commented on code in PR #9001:
URL: https://github.com/apache/hudi/pull/9001#discussion_r1232954690
##########
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:
from error stackļ¼report write side is conflict @yihua
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org