You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "rohangarg (via GitHub)" <gi...@apache.org> on 2023/05/07 21:20:48 UTC

[GitHub] [druid] rohangarg opened a new pull request, #14220: Fix planning in CASE expressions with complex WHEN and ELSE expressions

rohangarg opened a new pull request, #14220:
URL: https://github.com/apache/druid/pull/14220

   Using expressions like `NVL(x, '') NOT IN ('y', '')` in filters produce an incorrect filter currently. Calcite converts this expression into a `CASE` expression. This changes fixes that bug by using better planning mechanisms for planning the `WHEN` and `ELSE` clauses of the case expression.


-- 
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


[GitHub] [druid] rohangarg merged pull request #14220: Fix planning in CASE expressions with complex WHEN and ELSE expressions

Posted by "rohangarg (via GitHub)" <gi...@apache.org>.
rohangarg merged PR #14220:
URL: https://github.com/apache/druid/pull/14220


-- 
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