yihua commented on code in PR #17600:
URL: https://github.com/apache/hudi/pull/17600#discussion_r2641242308
##########
hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java:
##########
@@ -350,6 +350,21 @@ public Option<Schema>
getTableAvroSchemaFromLatestCommit(boolean includeMetadata
return Option.empty();
}
+ /**
+ * Returns table's latest {@link HoodieSchema} iff table is non-empty (ie
there's at least
+ * a single commit)
+ *
+ * This method differs from {@link #getTableAvroSchema(boolean)} in that it
won't fallback
Review Comment:
nit:
```suggestion
* This method differs from {@link #getTableSchema(boolean)} in that it
won't fallback
```
--
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]