[HUDI-1040] Make Hudi support Spark 3 (#2208)
* Fix flaky MOR unit test * Update Spark APIs to make it be compatible with both spark2 & spark3 * Refactor bulk insert v2 part to make Hudi be able to compile with Spark3 * Add spark3 profile to handle fasterxml & spark version * Create hudi-spark-common module & refactor hudi-spark related modules Co-authored-by: Wenning Ding <wenningd@amazon.com>
This commit is contained in:
@@ -171,7 +171,7 @@ public class RemoteHoodieTableFileSystemView implements SyncableFileSystemView,
|
||||
break;
|
||||
}
|
||||
String content = response.returnContent().asString();
|
||||
return mapper.readValue(content, reference);
|
||||
return (T) mapper.readValue(content, reference);
|
||||
}
|
||||
|
||||
private Map<String, String> getParamsWithPartitionPath(String partitionPath) {
|
||||
|
||||
Reference in New Issue
Block a user