stoty commented on code in PR #2079:
URL: https://github.com/apache/phoenix/pull/2079#discussion_r1961450298


##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
##########
@@ -2614,6 +2614,15 @@ public QueryPlan getQueryPlan() {
     @Override
     public ResultSet getResultSet() throws SQLException {
         ResultSet rs = getLastResultSet();
+        if (!isClosed && rs == null && lastQueryPlan != null) {

Review Comment:
   This feels like this a band-aid to cover for an error in the resultset logic.
   
   Can we fix the logic instad so that this is hacky solution is not needed ?



-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to