[
https://issues.apache.org/jira/browse/HIVE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Min Zhou updated HIVE-513:
--------------------------
Attachment: HIVE-513.patch
it's okay now, select result:
{code}
my string
my string
...
{code}
> 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
> 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.