hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-3821) RCFile does not work with lazyBinarySerDe
Date Wed, 19 Dec 2012 06:31:17 GMT
Namit Jain created HIVE-3821:
--------------------------------

             Summary: RCFile does not work with lazyBinarySerDe
                 Key: HIVE-3821
                 URL: https://issues.apache.org/jira/browse/HIVE-3821
             Project: Hive
          Issue Type: Improvement
          Components: Serializers/Deserializers
            Reporter: Namit Jain
            Assignee: Namit Jain


create table tst(key string, value string) row format serde 'org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe'
stored as rcfile;  

insert overwrite table tst select * from src;

gets an error:

Caused by: java.lang.UnsupportedOperationException: Currently the writer can only accept BytesRefArrayWritable
        at org.apache.hadoop.hive.ql.io.RCFile$Writer.append(RCFile.java:882)
        at org.apache.hadoop.hive.ql.io.RCFileOutputFormat$2.write(RCFileOutputFormat.java:140)
        at org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:637)
        at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
        at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)
        at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
        at org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:90)
        at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
        at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:547)
        ... 5 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message