Github user adeneche commented on a diff in the pull request:
https://github.com/apache/drill/pull/143#discussion_r38706070
--- Diff:
exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillResultSetImpl.java ---
@@ -1334,8 +1335,6 @@ public String getQueryId() throws SQLException {
@Override
protected DrillResultSetImpl execute() throws SQLException{
- DrillConnectionImpl connection = (DrillConnectionImpl)
statement.getConnection();
-
connection.getClient().runQuery(QueryType.SQL,
this.prepareResult.getSql(),
--- End diff --
why not use `this.client` instead of calling `connection.getClient()` ?
---
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.
---