nsivabalan commented on code in PR #10261:
URL: https://github.com/apache/hudi/pull/10261#discussion_r1419995289
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/schema/FilebasedSchemaProvider.java:
##########
@@ -87,4 +95,11 @@ private static Schema readAvroSchemaFromFile(String
schemaPath, FileSystem fs, b
}
return SanitizationUtils.parseAvroSchema(schemaStr, sanitizeSchema,
invalidCharMask);
}
+
+ // Per write batch, refresh the schemas from the file
+ @Override
+ public void refresh() {
Review Comment:
its bcoz of this reason
```
With FileBased schema provide one has to shutdown and restart deltstreamer
if schema is changed. So we are fixing this as part of this patch.
```
--
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]