hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emil Ibrishimov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-622) Implement reverse UDF
Date Fri, 10 Jul 2009 19:55:14 GMT

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

Emil Ibrishimov commented on HIVE-622:
--------------------------------------

I think it is fairly simple and quick: Text.charAt(x) gives the char that starts at position
x in the utf array or -1 if no char starts at this position (e.g. "abc\u5639\u563b" gives
97, 98, 99, 22073, -1, -1, 22075, -1 -1) and Text.append() appends a utf array. I don't know
how much faster will this be so I will run a quick test and see what happens just after I
finish some higher priority paperwork.

> Implement reverse UDF
> ---------------------
>
>                 Key: HIVE-622
>                 URL: https://issues.apache.org/jira/browse/HIVE-622
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Emil Ibrishimov
>            Assignee: Emil Ibrishimov
>             Fix For: 0.4.0
>
>         Attachments: HIVE-622.1.patch, HIVE-622.2.patch
>
>
> Implement reverse as requested in https://issues.apache.org/jira/browse/HIVE-615

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