hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy DUBOIS (JIRA) <j...@apache.org>
Subject [jira] [Created] (HIVE-2381) SQLException thrown when the resultset becomes empty.
Date Tue, 16 Aug 2011 15:17:49 GMT
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

       

Mime
View raw message