Revisit error message when timeline layout version cannot be read
- Dominant language
- Java
- Stars
- 6.2k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 111
Description
[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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.