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)