You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Jonathan Leech (JIRA)" <ji...@apache.org> on 2016/09/02 19:09:20 UTC

[jira] [Created] (PHOENIX-3245) Incorrect results from ResultSet.getBoolean()

Jonathan Leech created PHOENIX-3245:
---------------------------------------

             Summary: Incorrect results from ResultSet.getBoolean()
                 Key: PHOENIX-3245
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3245
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.7.0
            Reporter: Jonathan Leech
            Priority: Minor


This may sound crazy, but 110% positive that ResultSet.getBoolean() was sometimes incorrectly returning false with PreparedStatement.setFetchSize(5000), and returns the expected true with the only difference being PreparedStatement.setFetchSize(100). With the call to setFetchSize() omitted in the code, getFetchSize() returns the default of 2147483647, and the ResultSet.getBoolean() is back to the incorrect behavior.
Always the same 2 rows out of 8,585 have the issue.  The boolean column in question is in a separate column family, but I did not test to see what happens if its put in the default column family.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)