You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/11/29 21:56:49 UTC

[GitHub] [druid] paul-rogers commented on pull request #11184: vectorize logical operators and boolean functions

paul-rogers commented on pull request #11184:
URL: https://github.com/apache/druid/pull/11184#issuecomment-982059760


   @clintropolis, the `NULL` handling proposed is standard SQL trinary logic, so +1 on that change.
   
   SQL also applies NULL handling to all functions and operators: in general, `f(NULL) -> NULL` for every function `f`, unless special cased, as in the logical operators.
   
   Does the change also cover the negation operator? `NOT a` where `a` is `NULL` results in `NULL`. (Note that `a IS NOT NULL` is entirely different!)
   
   Did a prior (or will a future) change handle nulls in math operators? `10 + NULL -> NULL`?


-- 
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@druid.apache.org

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



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