[ 
https://issues.apache.org/jira/browse/SOLR-8845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873984#comment-15873984
 ] 

Kevin Risden commented on SOLR-8845:
------------------------------------

So the way to work through this with Calcite is to enable the constant 
reduction rules so that 1 = 0 is treated as FALSE and then that is removed from 
the plan. Thanks to [~julianhyde] on the Calcite mailing list for the tip. I'll 
post a patch here in a few minutes.

> 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: 6.0
>            Reporter: Trey Cahill
>            Assignee: Kevin Risden
>
> Ensure that Spark is able work with SolrJ JDBC.  
> Currently, in Spark 1.6 there are 2 known issues:
> 1. SparkSQL query's via a "select *" query
> 2. SparkSQL query's via a select query with a 1=0 where clause



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to