[HUDI-4218] [HUDI-4218] Expose the real exception information when an exception occurs in the tableExists method (#5827)
This commit is contained in:
@@ -403,7 +403,7 @@ public class UtilHelpers {
|
||||
statement.setQueryTimeout(Integer.parseInt(options.get(JDBCOptions.JDBC_QUERY_TIMEOUT())));
|
||||
statement.executeQuery();
|
||||
} catch (SQLException e) {
|
||||
return false;
|
||||
throw new HoodieException(e);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user