Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1404

PhoenixResultSet.setFetchSize throws SQLFeatureNotSupportedException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0, 3.3.0, 4.2.1, 3.2.1
    • Labels:
      None

      Description

      I've run into this issue when attempting to use Phoenix with both R Studio (with RJDBC), as well as ElasticSearch

      Lots of libraries attempt a setFetchSize() on a JDBC result set, but very few of them have error handling code, unfortunately. Rather than attempting to patch each library, it would be nice if Phoenix could handle this call.

      Is it as simple as invoking "statement.setFetchSize()" in this method?
      https://github.com/apache/phoenix/blob/4ed9ddb8fd28dffcd686671c18dc89d12b0a1c0c/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixResultSet.java#L784

      I suspect not, but if someone can take a quick look I can make the necessary code change and submit a patch.

      Related to PHOENIX-1175

        Attachments

        1. PHOENIX-1404.patch
          3 kB
          Gabriel Reid

          Activity

            People

            • Assignee:
              gabriel.reid Gabriel Reid
              Reporter:
              jmahonin Josh Mahonin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: