You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Min Zhou (JIRA)" <ji...@apache.org> on 2009/05/24 18:27:45 UTC
[jira] Created: (HIVE-513) UDFToString bug
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
execute a query like below,
{noformat}
select cast('my string' as tring) 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.
[jira] Assigned: (HIVE-513) UDFToString bug
Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Zhou reassigned HIVE-513:
-----------------------------
Assignee: Min Zhou
> 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.
[jira] Updated: (HIVE-513) UDFToString bug
Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Min Zhou updated HIVE-513:
--------------------------
Description:
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.
was:
execute a query like below,
{noformat}
select cast('my string' as tring) 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.
> 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
>
> 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.
[jira] Updated: (HIVE-513) UDFToString bug
Posted by "Min Zhou (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HIVE-513) UDFToString bug
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (HIVE-513) UDFToString bug
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Shao resolved HIVE-513.
-----------------------------
Resolution: Fixed
> 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.