[
https://issues.apache.org/jira/browse/SOLR-9019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250266#comment-15250266
]
Kevin Risden commented on SOLR-9019:
------------------------------------
Currently RJDBC is failing with the following error
{code}
Error in .jcall(rp, "I", "fetch", stride, block) :
java.lang.UnsupportedOperationException
Calls: dbGetQuery ... fetch -> fetch -> .local -> .jcall -> .jcheck -> .Call
{code}
This is caused by the following code in RJDBC
{code}
try { // run in a try since it's a hint, but some bad drivers fail on it anyway
(see #11)
rs.setFetchSize(fetchSize);
} catch (java.sql.SQLException e) { } // we can't use
SQLFeatureNotSupportedException because that's 1.6+ only
{code}
This will require that ResultSetImpl implements setFetchSize or setFetchSize
should throw a SQLException instead of UnsupportedOperationException.
> SolrJ JDBC - Ensure that R RJDBC works with SolrJ JDBC
> ------------------------------------------------------
>
> Key: SOLR-9019
> URL: https://issues.apache.org/jira/browse/SOLR-9019
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Reporter: Kevin Risden
>
> R has RJDBC (https://cran.r-project.org/web/packages/RJDBC/index.html) which
> can connect to JDBC. Check that it works with SolrJ JDBC.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]