chenkovsky opened a new pull request, #17311:
URL: https://github.com/apache/datafusion/pull/17311

   ## Which issue does this PR close?
   
   
   - Closes #.
   
   ## Rationale for this change
   
   for sql 
   ```sql
   case 
   when cond1 then val1
   else val2
   end
   ```
   
   for when then expression, 
   
   there's short circuit. 
   ```rust
   if when_value.true_count() == 0 {
       continue;
   }
   ```
   
   but there's no such circuit for else expression.
   
   ## What changes are included in this PR?
   
   add short-circuit for else expression
   
   ## Are these changes tested?
   
   UT
   
   ## Are there any user-facing changes?
   
   No


-- 
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: github-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to