[
https://issues.apache.org/jira/browse/HIVE-11372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651399#comment-14651399
]
Prasanth Jayachandran commented on HIVE-11372:
----------------------------------------------
[~mmccline] This looks like a vectorization issue. I tried to repro this issue
initially thinking its related to ORC PPD. But the issue seems to be with
vectorization. Disabling vectorization returns correct result as text format.
[~the6campbells] Thanks for reporting the issue. Temporary workaround for this
issue is to disable vectorization by setting
hive.vectorized.execution.enabled=false;
> join with betwee predicate comparing integer types returns no rows when ORC
> format used
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-11372
> URL: https://issues.apache.org/jira/browse/HIVE-11372
> Project: Hive
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: N Campbell
> Attachments: TINT, TSINT
>
>
> getDatabaseProductName Apache Hive
> getDatabaseProductVersion 1.2.1.2.3.0.0-2557
> getDriverName Hive JDBC
> getDriverVersion 1.2.1.2.3.0.0-2557
> getDriverMajorVersion 1
> getDriverMinorVersion 2
> select tint.rnum, tsint.rnum from tint , tsint where tint.cint between
> tsint.csint and tsint.csint
> when ORC used no rows returned versus TEXT
> create table if not exists TSINT ( RNUM int , CSINT smallint )
> -- ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n'
> STORED AS orc ;
> create table if not exists TINT ( RNUM int , CINT int )
> -- ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n'
> STORED AS orc ;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)