Cheng Hao created HIVE-4864:
-------------------------------
Summary: Code Comments seems confused between GenericUDFCase &
GenericUDFWhen
Key: HIVE-4864
URL: https://issues.apache.org/jira/browse/HIVE-4864
Project: Hive
Issue Type: Task
Reporter: Cheng Hao
Priority: Trivial
Code Comment in GenericUDFCase:
/**
* GenericUDF Class for SQL construct
* "CASE WHEN a THEN b WHEN c THEN d [ELSE f] END".
*
* NOTES: 1. a and c should be boolean, or an exception will be thrown. 2. b, d
* and f should have the same TypeInfo, or an exception will be thrown.
*/
And the code comment in GenericUDFWhen:
/**
* GenericUDF Class for SQL construct "CASE a WHEN b THEN c [ELSE f] END".
*
* NOTES: 1. a and b should have the same TypeInfo, or an exception will be
thrown. 2. c and f should have the same TypeInfo, or an exception will be
* thrown.
*/
>From the code itself, seems the comments should be exchanged. We'd better
>amend that to avoid confusing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira