File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
xtable-service/src/test/java/org/apache/xtable/service Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 5454import org .junit .jupiter .params .provider .Arguments ;
5555import org .junit .jupiter .params .provider .MethodSource ;
5656
57+ import org .apache .hudi .client .HoodieReadClient ;
5758import org .apache .hudi .common .config .HoodieMetadataConfig ;
5859
5960import org .apache .xtable .GenericTable ;
@@ -84,7 +85,8 @@ public static void setupOnce() {
8485 Files .createDirectories (basePath );
8586
8687 SparkConf sparkConf = HudiTestUtil .getSparkConf (tempDir );
87- sparkSession = SparkSession .builder ().config (sparkConf ).getOrCreate ();
88+ sparkSession =
89+ SparkSession .builder ().config (HoodieReadClient .addHoodieSupport (sparkConf )).getOrCreate ();
8890 sparkSession
8991 .sparkContext ()
9092 .hadoopConfiguration ()
You can’t perform that action at this time.
0 commit comments