[
https://issues.apache.org/jira/browse/IMPALA-7715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Rodoni closed IMPALA-7715.
-------------------------------
Resolution: Fixed
Fix Version/s: Impala 3.1.0
> "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]