[
https://issues.apache.org/jira/browse/IMPALA-7715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654228#comment-16654228
]
ASF subversion and git services commented on IMPALA-7715:
---------------------------------------------------------
Commit a0f351a647b7f48468e6dd3877a16947a746ab9c in impala's branch
refs/heads/master from [~arodoni_cloudera]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=a0f351a ]
IMPALA-7715: [DOCS] Better descriptions for conditional functions
- Updated the descriptions for ISTRUE, ISFALSE, NONULVALUE, NULLVALUE.
- Updated several function names to use caps.
Change-Id: I5cc90d62645730d2674bcb3af614863aa92b92f6
Reviewed-on: http://gerrit.cloudera.org:8080/11704
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Paul Rogers <[email protected]>
Reviewed-by: Alex Rodoni <[email protected]>
> "Impala Conditional Functions" documentation errata
> ---------------------------------------------------
>
> Key: IMPALA-7715
> URL: https://issues.apache.org/jira/browse/IMPALA-7715
> Project: IMPALA
> Issue Type: Improvement
> Components: Docs
> Affects Versions: Impala 3.0
> Reporter: Paul Rogers
> Assignee: Alex Rodoni
> Priority: Minor
> Fix For: Impala 3.1.0
>
>
> Consider the documentation page [Impala Conditional
> Functions|https://impala.apache.org/docs/build3x/html/topics/impala_conditional_functions.html].
> Multiple functions have ambiguous descriptions. For example:
> {quote}isfalse(boolean)
> Purpose: Tests if a Boolean expression is false or not. Returns true if so.
> {quote}
> The above is confusing, it essentially means: "Returns true if a Boolean
> expression is false or not." This obviously means the function always returns
> false, which is not accurate.
> Reword to say: "Returns true if the expression is false. Returns false if the
> expression is true or NULL."
> Other ambiguous descriptions:
> {quote}
> istrue(boolean)
> Purpose: Tests if a Boolean expression is true or not. Returns true if so.
> {quote}
> Better: "Returns true if an expression is true. Returns false if the
> expression is false or NULL."
> Others:
> {quote}nonnullvalue(expression)
> Purpose: Tests if an expression (of any type) is NULL or not. Returns false
> if so.
> {quote}
> Better: "Returns true if the expression is non-null, tase if the expression
> is null. Same as {{expression IS NOT NULL}}."
> {quote}
> nullvalue(expression)
> Purpose: Tests if an expression (of any type) is NULL or not. Returns true if
> so.
> {quote}
> Better: "Returns true if the expression is NULL, false otherwise. Same as
> {{expression IS NULL}}"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]