Details
-
Improvement
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
3.1.0, 3.1.2
-
None
Description
Description
Script-
create table test ( col1 decimal );
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
Attachments
Issue Links
- is related to
-
HIVE-25693 Vector implementation return Incorrect results for STDDEV, STDDEV_SAMP, STDDEV_POP for floating point data types.
- In Progress
- links to