[
https://issues.apache.org/jira/browse/HIVE-5845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827437#comment-13827437
]
Remus Rusanu commented on HIVE-5845:
------------------------------------
The root cause is not in OrcStruct/OrcSerde, but instead is in the
VectorExpressionWriterFactory which does not honor properly the object
inspectors passed in, assumes always to be a WritableXXObjectInspector and
creates an WritableXXX object value. I am fixing this.
Why this was exposed is that OrcStruct.VectorExpressionWriterFactory creates
writable object inspectors for most primitives, but for TIMESTAMP uses a native
Java object inspector (also for DATE). I don't know why Orc does that, but none
the less the VectorExpressionWriterFactory should handle this in a robust
manner.
> CTAS failed on vectorized code path
> -----------------------------------
>
> Key: HIVE-5845
> URL: https://issues.apache.org/jira/browse/HIVE-5845
> Project: Hive
> Issue Type: Bug
> Reporter: Ashutosh Chauhan
> Assignee: Remus Rusanu
>
> Following query fails:
> create table store_sales_2 stored as orc as select * from alltypesorc;
--
This message was sent by Atlassian JIRA
(v6.1#6144)