XuQianJin-Stars commented on a change in pull request #4649:
URL: https://github.com/apache/hudi/pull/4649#discussion_r790491464



##########
File path: 
hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -477,4 +468,14 @@ public static MessageType readSchemaFromLogFile(FileSystem 
fs, Path path) throws
     }
     return null;
   }
+
+  public boolean hasOperationField() {
+    try {
+      Schema tableAvroSchema = getTableAvroSchemaFromDataFile();

Review comment:
       > since this is called every time to retrieve the info, any performance 
concern on reading the timeline and the data files? can you help make a rough 
estimation on this aspect please? e.g. what kinds of scenarios may invoke this 
and how often it would happen
   
   Thanks for your suggestion, I made a small adjustment. I will test the scene 
and time.




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