You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/05/08 19:22:52 UTC

[GitHub] [hudi] n3nash commented on a change in pull request #2927: [HUDI-1129][WIP] Adding support to ingest records with old schema after table's schema is evolved

n3nash commented on a change in pull request #2927:
URL: https://github.com/apache/hudi/pull/2927#discussion_r628786746



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -61,6 +62,13 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.metaClient = metaClient;
   }
 
+  /**
+   * @return {@code true} if any commits are found, else {@code false}.
+   */
+  public boolean areCommitsAvailable() {

Review comment:
       Rename to isTimelineEmpty() 




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org