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-623) Optimize length and reverse UDFs
Date Tue, 14 Jul 2009 00:44:14 GMT

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

Zheng Shao commented on HIVE-623:

Text.charAt(i) is actually very expensive - it calls ByteBuffer.wrap which creates a new object.
Can we directly use the UTF-8 encoding map to test whether a byte is a trailing byte or not
(for both reverse and length)

> Optimize length and reverse UDFs
> --------------------------------
>                 Key: HIVE-623
>                 URL: https://issues.apache.org/jira/browse/HIVE-623
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Emil Ibrishimov
>            Priority: Minor
>         Attachments: HIVE-623.1.patch, HIVE-623.2.patch
> Parse Text instead of converting to String in "length", "reverse" and other UDFs.

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

View raw message