codope commented on code in PR #11579:
URL: https://github.com/apache/hudi/pull/11579#discussion_r1745776925


##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:
##########
@@ -1298,7 +1300,8 @@ private static Option<Schema> 
tryResolveSchemaForTable(HoodieTableMetaClient dat
       TableSchemaResolver schemaResolver = new 
TableSchemaResolver(dataTableMetaClient);
       return Option.of(schemaResolver.getTableAvroSchema());
     } catch (Exception e) {
-      throw new HoodieException("Failed to get latest columns for " + 
dataTableMetaClient.getBasePath(), e);
+      LOG.warn("Failed to get latest columns for {}", 
dataTableMetaClient.getBasePath());
+      return Option.empty();

Review Comment:
   Makes sense. I don't recall why i changed to a warn log. Probably, I was 
debugging something. I have reverted now.



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