hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11372) join with between predicate comparing integer types returns no rows when ORC format used
Date Thu, 03 Dec 2015 13:42:10 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037785#comment-15037785
] 

Matt McCline commented on HIVE-11372:
-------------------------------------

Ok, empty condition map is because the join is a cross join.

FilterLongColumnBetween works on scalar input.  Why was it chosen to evaluate the BETWEEN
clause on the column tsint.csint?

> join with between 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
>            Assignee: Matt McCline
>         Attachments: TINT, TSINT, vector_select_int.q, vector_select_int.q.out
>
>
> 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)

Mime
View raw message