[
https://issues.apache.org/jira/browse/SOLR-15459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Potter resolved SOLR-15459.
-----------------------------------
Fix Version/s: main (9.0)
Resolution: Fixed
> 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
> Security Level: Public(Default Security Level. Issues are Public)
> 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]