[ 
https://issues.apache.org/jira/browse/HIVE-26936?focusedWorklogId=839310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-839310
 ]

ASF GitHub Bot logged work on HIVE-26936:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Jan/23 07:44
            Start Date: 16/Jan/23 07:44
    Worklog Time Spent: 10m 
      Work Description: kasakrisz merged PR #3940:
URL: https://github.com/apache/hive/pull/3940




Issue Time Tracking
-------------------

    Worklog Id:     (was: 839310)
    Time Spent: 40m  (was: 0.5h)

> Floating point zero and signed zero comparison as a part of join predicate is 
> considered as not equal.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-26936
>                 URL: https://issues.apache.org/jira/browse/HIVE-26936
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Dayakar M
>            Assignee: Dayakar M
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
> {quote}CREATE TABLE t0(c0 INT);
> CREATE TABLE t1(c0 DOUBLE);
> INSERT INTO t0 VALUES(0);
> INSERT INTO t1 VALUES('-0');
> SELECT * FROM t0, t1 WHERE t0.c0 = t1.c0;
> {quote}
> *Expected Result:* 0.0 -0.0
> *Actual:* No Rows selected
> That the predicate should evaluate to TRUE can be verified with the following 
> statement:
> {quote}SELECT t0.c0 = t1.c0 FROM t0, t1; 
> -------
> _c0
> -------
> true
> -------
> {quote}
> Similar issue fixed earlier as a part of HIVE-11174  for where clause 
> condition, now join condition is having issue.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to