Jason Altekruse created DRILL-1299:
--------------------------------------

             Summary: Short circuit CASE statement evaluation
                 Key: DRILL-1299
                 URL: https://issues.apache.org/jira/browse/DRILL-1299
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: Jason Altekruse


Case statements currently are transformed into generated code that contains 
blocks for the conditional, when block and else block. Regardless of the result 
of the conditional, both of the blocks are evaluated and the correct result is 
taken. This currently removes the capability for case statements to be used to 
avoid exceptions, such as checking for an empty string before calling a 
function on it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to