Zoltán Rátkai created ORC-1413:
----------------------------------
Summary: ORC row level filter throws Exception
Key: ORC-1413
URL: https://issues.apache.org/jira/browse/ORC-1413
Project: ORC
Issue Type: Bug
Reporter: Zoltán Rátkai
Assignee: Zoltán Rátkai
The following throws exception in Hive with ORC 1.8.3.
CREATE TABLE IF NOT EXISTS mytableorc183(text String) STORED AS orc
TBLPROPERTIES('transactional'='true', 'orc.sarg.to.filter'='true');
insert into mytableorc183 values("test1");
select * from mytableorc183 where text='test1';
select throws this:
java.io.IOException: java.lang.ClassCastException:
org.apache.hadoop.hive.ql.exec.vector.LongColumnVector cannot be cast to
org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector
at
org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:624)
at
org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:531)
at org.apache.hadoop.hive.ql.exec.FetchTask.executeInner(FetchTask.java:194)
at org.apache.hadoop.hive.ql.exec.FetchTask.execute(FetchTask.java:95)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:212)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:154)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:149)
at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:185)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)