Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/662#discussion_r36056280
--- Diff: tajo-client/src/main/java/org/apache/tajo/client/QueryClient.java
---
@@ -94,11 +97,11 @@
*
* @return If failed, return null.
*/
- ResultSet executeQueryAndGetResult(final String sql) throws SQLException;
+ ResultSet executeQueryAndGetResult(final String sql) throws
TajoException;
--- End diff --
Take a look at the signature ``executeQuery`` and ``executeQueryWithJson``.
They return SubmitQueryResponse which contains ReturnState. So, we should allow
callers to handle the return state directly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---