[
https://issues.apache.org/jira/browse/HIVE-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827843#comment-13827843
]
Gopal V commented on HIVE-5663:
-------------------------------
bucket_num_reducers.q is
{code}
CREATE TABLE bucket_nr(key int, value string) CLUSTERED BY (key) INTO 50
BUCKETS;
insert overwrite table bucket_nr
select * from src;
{code}
And src table is a text table from kv1.txt - trying to confirm if this test
fails on trunk without the patch (which should only kick in for ORC tables &
that too in the read path only).
> Refactor ORC RecordReader to operate on direct & wrapped ByteBuffers
> --------------------------------------------------------------------
>
> Key: HIVE-5663
> URL: https://issues.apache.org/jira/browse/HIVE-5663
> Project: Hive
> Issue Type: Improvement
> Components: File Formats
> Affects Versions: 0.13.0
> Environment: Ubuntu LXC
> Reporter: Gopal V
> Assignee: Gopal V
> Labels: ORC
> Attachments: HIVE-5663.01.patch, HIVE-5663.02.patch,
> HIVE-5663.03.patch
>
>
> The current ORC RecordReader implementation assumes array structures backing
> the ByteBuffers it passes around between RecordReaderImpl and
> Compressed/Uncompressed InStream objects.
> This patch attempts to refactor those assumptions out of both classes,
> allowing the future use of direct byte buffers within ORC (as might come from
> HDFS zero-copy readers).
--
This message was sent by Atlassian JIRA
(v6.1#6144)