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

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

                Author: ASF GitHub Bot
            Created on: 20/Dec/21 10:40
            Start Date: 20/Dec/21 10:40
    Worklog Time Spent: 10m 
      Work Description: ashish-kumar-sharma opened a new pull request #2897:
URL: https://github.com/apache/hive/pull/2897


   Reverts apache/hive#2760


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 698561)
    Time Spent: 1h 10m  (was: 1h)

> Incorrect results returned by STDDEV, STDDEV_SAMP, STDDEV_POP for floating 
> point data types.
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25653
>                 URL: https://issues.apache.org/jira/browse/HIVE-25653
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>    Affects Versions: 3.1.0, 3.1.2
>            Reporter: Ashish Sharma
>            Assignee: Ashish Sharma
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Description
> *Script*- 
> create table test ( col1 int );
> insert into values 
> ('10230.72'),('10230.72'),('10230.72'),('10230.72'),('10230.72'),('10230.72'),('10230.72');
> select STDDEV_SAMP(col1) AS STDDEV_6M , STDDEV(col1) as STDDEV 
> ,STDDEV_POP(col1) as STDDEV_POP from test;
> *Result*- 
> STDDDEV_SAMP                            STDDEV                      
> STDDEV_POP 
> 5.940794514955821E-13     5.42317860890711E-13         5.42317860890711E-13
> *Expected*- 
> STDDDEV_SAMP                            STDDEV                      
> STDDEV_POP 
> 0                                                           0                 
>                0



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to