Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
6.1.1
-
None
Description
COS() function is returning different last digit precision value for Centos7 vs Centos8 for a DECIMAL(38) column:
On Centos8:
drop table if exists cs1; |
create table cs1 (a decimal(38), b decimal(38) unsigned)engine=columnstore; |
insert into cs1 values (-123456, 123456); |
select cos(a), cos(b) from cs1; |
+---------------------+---------------------+ |
| cos(a) | cos(b) |
|
+---------------------+---------------------+ |
| -0.6722948816565846 | -0.6722948816565846 |
|
+---------------------+---------------------+ |
On Centos7:
select cos(a), cos(b) from cs1; |
+---------------------+---------------------+ |
| cos(a) | cos(b) |
|
+---------------------+---------------------+ |
| -0.6722948816565845 | -0.6722948816565845 |
|
+---------------------+---------------------+ |
Attachments
Issue Links
- relates to
-
MCOL-641 Full DECIMAL support in ColumnStore
- Closed