You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2014/08/14 04:42:12 UTC
[jira] [Created] (DRILL-1299) Short circuit CASE statement
evaluation
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)