Closed jadami10 closed 2 years ago
@Jackie-Jiang Should we go with re-writing the query WHERE A
to WHERE A IS TRUE
?
@KKcorps Good solution! We can re-write the filter expression if the underlying predicate does not have FilterKind
as the function. Pinot supports WHERE A = true
@Jackie-Jiang / @KKcorps / @jadami10 are you planning to work on this ?
If not, @vvivekiyer can help pick it up as he is familiarizing himself through the code
@siddharthteotia I am working on BrokerResponse so @vvivekiyer can pick it up
@vvivekiyer is working on the fix
Fixed with https://github.com/apache/pinot/pull/8518
thanks for working on this! I didn't see a test example, but does WHERE NOT <boolean_field>
work correctly?
Hi Johan, yes it should. I just tested it out locally for a use-case. I didn't add a test-case example because AND, OR, NOT are processed similarly.
Running a query with just
select <fields> from <table> where <boolean_field>
results in a null point exception. This should be a supported query.Stack trace from pinot
user facing error