[
https://issues.apache.org/jira/browse/SOLR-15459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376029#comment-17376029
]
Timothy Potter commented on SOLR-15459:
---------------------------------------
Backported to 8x:
https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=afbac7b
> Solr SQL doesn't support IS NULL / IS NOT NULL operators
> --------------------------------------------------------
>
> Key: SOLR-15459
> URL: https://issues.apache.org/jira/browse/SOLR-15459
> Project: Solr
> Issue Type: Bug
> Components: Parallel SQL
> Reporter: Timothy Potter
> Assignee: Timothy Potter
> Priority: Major
> Labels: RobustSQL
> Fix For: main (9.0)
>
>
> My query is:
> {code}
> SELECT dateAsInt, a_s, b_s FROM $ALIAS WHERE b_s IS NOT NULL
> {code}
> Results:
> {code}
> {a_s=hello48, b_s=foo, dateAsInt=20210218}
> {a_s=hello47, b_s=null, dateAsInt=20210217}
> {code}
> Query to Solr:
> {code}
> 7632 INFO (qtp1443077678-315) [n:127.0.0.1:55346_solr c:coll2 s:shard1
> r:core_node3 x:coll2_shard1_replica_n1 ] o.a.s.c.S.Request
> [coll2_shard1_replica_n1] webapp=/solr path=/export
> params={q=*:*&distrib=false&indent=off&fl=dateAsInt,a_s,b_s,_version_&sort=_version_+desc&wt=json&version=2.2}
> hits=13 status=0 QTime=29
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]