danny0405 commented on code in PR #10300:
URL: https://github.com/apache/hudi/pull/10300#discussion_r1432270997
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/catalog/HoodieHiveCatalog.java:
##########
@@ -477,6 +478,8 @@ public void createTable(ObjectPath tablePath,
CatalogBaseTable table, boolean ig
if (!ignoreIfExists) {
throw new TableAlreadyExistException(getName(), tablePath, e);
}
+ } catch (HoodieValidationException e) {
+ throw e;
} catch (Exception e) {
throw new HoodieCatalogException(
Review Comment:
> maybe i need to fix ut to assert throw a HoodieCatalogException
You should.
--
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]