[ 
https://issues.apache.org/jira/browse/HIVE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700972#action_12700972
 ] 

Zheng Shao commented on HIVE-164:
---------------------------------

Some framework changes:
* New: GenericUDF API
* ExprNodeEvaluator API changes: init(rowInspector), evaluate(rowObject)
* Operator API change: process() now takes a tag.

Also it would be nice to let the SemanticAnalyzer to use ObjectInspector to 
represent the row instead of RowSchema.
That can help remove one function from the GenericUDF API.


> Support CASE statement using GenericUDF
> ---------------------------------------
>
>                 Key: HIVE-164
>                 URL: https://issues.apache.org/jira/browse/HIVE-164
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Zheng Shao
>            Assignee: Zheng Shao
>         Attachments: HIVE-164.4.patch, HIVE-164.5.patch
>
>
> See http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html for 
> details.
> Syntax:
> {code}
> CASE value WHEN [compare_value] THEN result [WHEN [compare_value] THEN result 
> ...] [<ELSE result] END
> CASE WHEN [condition] THEN result [WHEN [condition] THEN result ...] [ELSE 
> result] END 
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to