bvaradar commented on code in PR #10261:
URL: https://github.com/apache/hudi/pull/10261#discussion_r1419451599


##########
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:
   For FileBasedSchemaProvider, we don't need to refresh reading from the file 
every batch. right ?



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

Reply via email to