YannByron commented on a change in pull request #4789:
URL: https://github.com/apache/hudi/pull/4789#discussion_r811529153



##########
File path: 
hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -526,6 +526,7 @@ private boolean hasOperationField() {
       Schema tableAvroSchema = getTableAvroSchemaFromDataFile();
       return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) 
!= null;
     } catch (Exception e) {
+      LOG.info(String.format("Failed to read operation field from avro schema 
(%s)", e.getMessage()));

Review comment:
       i recommend there is no logging. It'll affect the user experience. See 
the logging of CI, you can find this.




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