You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Timothy Potter (Jira)" <ji...@apache.org> on 2021/06/08 14:50:00 UTC

[jira] [Created] (SOLR-15459) Solr SQL doesn't support IS NULL / IS NOT NULL operators

Timothy Potter created SOLR-15459:
-------------------------------------

             Summary: 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


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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org