codope commented on code in PR #7308:
URL: https://github.com/apache/hudi/pull/7308#discussion_r1033188718
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/bootstrap/HoodieBootstrapSchemaProvider.java:
##########
@@ -48,7 +48,7 @@ public HoodieBootstrapSchemaProvider(HoodieWriteConfig
writeConfig) {
public final Schema getBootstrapSchema(HoodieEngineContext context,
List<Pair<String, List<HoodieFileStatus>>> partitions) {
if (writeConfig.getSchema() != null) {
// Use schema specified by user if set
- Schema userSchema = Schema.parse(writeConfig.getSchema());
+ Schema userSchema = new Schema.Parser().parse(writeConfig.getSchema());
Review Comment:
I see one more usage in `AvroFileDeltaInputWriter` in hudi-integ-test.
Though it's not critical but would be good to fix there as well.
--
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]