You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kristine Hahn (JIRA)" <ji...@apache.org> on 2015/04/09 19:58:13 UTC

[jira] [Comment Edited] (DRILL-2484) Document CASE expression

    [ https://issues.apache.org/jira/browse/DRILL-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487763#comment-14487763 ] 

Kristine Hahn edited comment on DRILL-2484 at 4/9/15 5:57 PM:
--------------------------------------------------------------

Bob's review yesterday asked for documentation on CASE, so I'm assigning this to me.


was (Author: krishahn):
Bob's review yesterday asked for documentation on CASE, so I'm assigned this to me.

> Document CASE expression
> ------------------------
>
>                 Key: DRILL-2484
>                 URL: https://issues.apache.org/jira/browse/DRILL-2484
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Victoria Markman
>            Assignee: Kristine Hahn
>
> Case expression is not documented, we support "searched case":
> CASE
>     WHEN boolean-expression THEN
>       statements
>   [ WHEN boolean-expression THEN
>       statements
>     ... ]
>   [ ELSE
>       statements ]
> END CASE;
> See postgres page for example: http://www.postgresql.org/docs/9.1/static/plpgsql-control-structures.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)