1
0

[HUDI-4218] [HUDI-4218] Expose the real exception information when an exception occurs in the tableExists method (#5827)

This commit is contained in:
董可伦
2022-06-15 18:10:35 +08:00
committed by GitHub
parent 7b946cf351
commit c291b05699

View File

@@ -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;
}