You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Josh Mahonin (JIRA)" <ji...@apache.org> on 2014/11/04 20:45:34 UTC
[jira] [Created] (PHOENIX-1404) PhoenixResultSet.setFetchSize
throws SQLFeatureNotSupportedException
Josh Mahonin created PHOENIX-1404:
-------------------------------------
Summary: PhoenixResultSet.setFetchSize throws SQLFeatureNotSupportedException
Key: PHOENIX-1404
URL: https://issues.apache.org/jira/browse/PHOENIX-1404
Project: Phoenix
Issue Type: Bug
Affects Versions: 5.0.0
Reporter: Josh Mahonin
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.getFetchSize()" 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)