drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1299) Short circuit CASE statement evaluation
Date Mon, 18 Aug 2014 02:54:18 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jacques Nadeau updated DRILL-1299:

    Assignee: Aditya Kishore

> Short circuit CASE statement evaluation
> ---------------------------------------
>                 Key: DRILL-1299
>                 URL: https://issues.apache.org/jira/browse/DRILL-1299
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Execution - Codegen
>            Reporter: Jason Altekruse
>            Assignee: Aditya Kishore
>             Fix For: 0.5.0
> 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

View raw message