You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/11/08 17:30:02 UTC

[GitHub] [hudi] fengjian428 commented on a change in pull request #3671: [HUDI-2418] add HiveSchemaProvider

fengjian428 commented on a change in pull request #3671:
URL: https://github.com/apache/hudi/pull/3671#discussion_r744944449



##########
File path: hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/SparkClientFunctionalTestHarness.java
##########
@@ -164,7 +164,7 @@ public synchronized void runBeforeEach() {
       SparkConf sparkConf = conf();
       SparkRDDWriteClient.registerClasses(sparkConf);
       HoodieReadClient.addHoodieSupport(sparkConf);
-      spark = SparkSession.builder().config(sparkConf).getOrCreate();
+      spark = SparkSession.builder().config(sparkConf).enableHiveSupport().getOrCreate();

Review comment:
       In enableHiveSupport function, spark also check if hiveClassesArePresent, if not then throw a exception, do you mean I should pass config directly and ignore this logic?




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