You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/09/15 07:58:42 UTC

[GitHub] [pinot] siddharthteotia commented on issue #9401: Query With Empty String Literal Fails with IN_SUBQUERY

siddharthteotia commented on issue #9401:
URL: https://github.com/apache/pinot/issues/9401#issuecomment-1247724922

   I don't think this has got anything to do with IN_SUBQUERY. 
   
   It will probably fail (for the same reason) if you just run the ID_SET query alone. 
   
   Are you trying to use predicate != null ? May be try length() scalar function. ?
   
   ```
   select count(*) from baseballStats where 
     IN_SUBQUERY(playerID, 'SELECT ID_SET(playerID) FROM baseballStats WHERE length(teamID) > 0 limit 10
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org