benkrug opened a new issue #11145:
URL: https://github.com/apache/druid/issues/11145
A select count(*) will return nothing rather than 0, if no rows pass the
WHERE conditions.
Eg, load wikipedia.
`select count(*) from wikipedia` - returns 24433 (for me, in my load)
`select count(*) from wikipedia where channel = 'abc'` - returns nothing,
not 0.
This is true running in the console, or using the API. There I get
`[{"EXPR$0":24433}]` for the first query, and `[]` for the second.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]