[
https://issues.apache.org/jira/browse/SOLR-8845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250673#comment-15250673
]
Kevin Risden commented on SOLR-8845:
------------------------------------
The query is:
{code}
SELECT * FROM test WHERE 1=0
{code}
What is happening is the where clause is being processed and since the 1 is a
LongLiteral you get the class cast exception in the SQLHandler.
> SolrJ JDBC - Ensure that Spark works with SolrJ JDBC
> ----------------------------------------------------
>
> Key: SOLR-8845
> URL: https://issues.apache.org/jira/browse/SOLR-8845
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: master
> Reporter: Trey Cahill
>
> Ensure that Spark is able work with SolrJ JDBC.
> Currently, in Spark 1.6 there are 2 known issues:
> 1. SparkSQL uses a connection.prepareStatement() call, which returns null in
> the SolrJ implementation
> 2. SparkSQL query's via a "select *" query, which is currently not supported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]