pinot
pinot copied to clipboard
Proper support for filter in SELECT clause, IS TRUE/FALSE, and use boolean expression as predicate
-
NOT IN.
select * from job where id not in ('')
-- This query already worksselect id not in ('') from job
-- This query does not work -
NOT BETWEEN a AND b
-
IS NOT TRUE, IS NOT FALSE Note: This requires supporting IS TRUE, and IS FALSE
-
NOT boolean_function. Examples: NOT STARTSWITH(...)
We already have NOT operator support (introduced in #7701). Some fixes (#8366, #8331) are not released yet, but with the current master it should work.
The ask in this ticket is not really about NOT operator, but:
- Filter in select clause (udf that returns boolean)
- Already supported
- IS TRUE/FALSE support
- Use boolean expression as the predicate
Updated issue title.
- Use boolean expression as the predicate
I believe we already have support for this in filter through https://github.com/apache/pinot/pull/8518 Am I missing something @Jackie-Jiang ?
@vvivekiyer Thanks for reminding me! Yes, it should already be handled