hudi icon indicating copy to clipboard operation
hudi copied to clipboard

Revisit error message when timeline layout version cannot be read

Open hudi-bot opened this issue 2 months ago • 1 comments

[https://github.com/apache/hudi/pull/12307#discussion_r1872244128]

Revisit the following logic to see if the exception class (TableNotFoundException) is accurate. {code:java} if (layoutVersion.isPresent() && tableConfigVersion.isPresent()) {       // Ensure layout version passed in config is not lower than the one seen in hoodie.properties       checkArgument(layoutVersion.get().compareTo(tableConfigVersion.get()) >= 0,           "Layout Version defined in hoodie properties has higher version (" + tableConfigVersion.get()               + ") than the one passed in config (" + layoutVersion.get() + ")");     } else if (layoutVersion.isEmpty() && tableConfigVersion.isEmpty()) {       throw new TableNotFoundException("Table does not exist"); } {code}

JIRA info

  • Link: https://issues.apache.org/jira/browse/HUDI-8666
  • Type: Improvement
  • Fix version(s):
    • 1.1.0

hudi-bot avatar Nov 30 '25 11:11 hudi-bot

Linked PR(s)

  • https://github.com/apache/hudi/pull/12867

hudi-bot avatar Dec 09 '25 04:12 hudi-bot