[ 
https://issues.apache.org/jira/browse/HUDI-8666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vova Kolmakov reassigned HUDI-8666:
-----------------------------------

    Assignee:     (was: Vova Kolmakov)

> Revisit error message when timeline layout version cannot be read
> -----------------------------------------------------------------
>
>                 Key: HUDI-8666
>                 URL: https://issues.apache.org/jira/browse/HUDI-8666
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: Y Ethan Guo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.0.2
>
>
> [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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to