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

Edward Capriolo commented on HIVE-2482:
---------------------------------------

{quote}
Is it reasonable to say that we strongly encourage unit testing but we'd like 
to see at least one end to end test?
{quote}

^ that has always been the case.
I am ok with moving to a simpler/faster/east to test style. But asserting on 
evaluate() really does not cover everything  (because of the state). Neither 
does select udf(x) from src limit 1 (bugs from multiple rows). I think we need 
to be simulating from the standpoint of an operator interacting with the UDF 
normally. It would not be full end-to-end but more then just cherry picking 
execution points and validating results.



                
> Convenience UDFs for binary data type
> -------------------------------------
>
>                 Key: HIVE-2482
>                 URL: https://issues.apache.org/jira/browse/HIVE-2482
>             Project: Hive
>          Issue Type: New Feature
>    Affects Versions: 0.9.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Mark Wagner
>         Attachments: HIVE-2482.1.patch
>
>
> HIVE-2380 introduced binary data type in Hive. It will be good to have 
> following udfs to make it more useful:
> * UDF's to convert to/from hex string
> * UDF's to convert to/from string using a specific encoding
> * UDF's to convert to/from base64 string
> * UDF's to convert to/from non-string types using a particular serde

--
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

Reply via email to