hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-513) UDFToString bug
Date Wed, 27 May 2009 21:13:45 GMT

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

Zheng Shao commented on HIVE-513:
---------------------------------

Are you working on the latest trunk? There was a recent change that might have fixed it.

We remove redundant conversion functions at compile time.
I tried "select cast('my string' as string) from mytable;" with the latest trunk and it correctly
outputs "my string".


> UDFToString bug
> ---------------
>
>                 Key: HIVE-513
>                 URL: https://issues.apache.org/jira/browse/HIVE-513
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>         Attachments: HIVE-513.patch
>
>
> execute a query like below,
> {noformat}
> select cast('my string' as string) from pokes;
> {noformat}
> you will get the result:
> {noformat}
> NULL
> NULL
> ...
> {noformat}
> the reason is UDFToString hasn't an evaluate method acceptes Text or BytesWritable argument.

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


Mime
View raw message