SQLException thrown when the resultset becomes empty.
-----------------------------------------------------

                 Key: HIVE-2381
                 URL: https://issues.apache.org/jira/browse/HIVE-2381
             Project: Hive
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 0.7.1
            Reporter: Rémy DUBOIS


Using the next method on my HiveQueryResultSet, when the resultset becomes 
emtpy, a SQLException is thrown on this line of code:

{code}
rowStr = (String) client.fetchOne();
...
...
} catch (Exception ex) {
      ex.printStackTrace();
      throw new SQLException("Error retrieving next row");
    }
{code}



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to