You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2013/10/06 20:19:41 UTC

[jira] [Created] (HIVE-5473) sqrt of -ve value returns null instead of throwing an error

N Campbell created HIVE-5473:
--------------------------------

             Summary: sqrt of -ve value returns null instead of throwing an error
                 Key: HIVE-5473
                 URL: https://issues.apache.org/jira/browse/HIVE-5473
             Project: Hive
          Issue Type: Bug
    Affects Versions: 0.11.0
            Reporter: N Campbell
            Priority: Minor


select sqrt( -4 ) from t

will return a null instead of throwing an  exception. 

no discussion on web page that this would be by design to not throw an error.

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions





--
This message was sent by Atlassian JIRA
(v6.1#6144)