Full DECIMAL support in ColumnStore (MCOL-641)

[MCOL-4313] Release builds contains ASM that either crashes processes or affects query results Created: 2020-09-17  Updated: 2020-11-18  Resolved: 2020-10-21

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: None
Fix Version/s: None

Type: Sub-Task Priority: Minor
Reporter: Roman Assignee: Roman
Resolution: Fixed Votes: 0
Labels: None

Sprint: 2020-1, 2020-2, 2020-3, 2020-4, 2020-5, 2020-6, 2020-7, 2021-1, 2021-2, 2021-3, 2021-4, 2021-5, 2021-6, 2021-7, 2021-8, 2021-9

 Description   

This only affects decimal(38)

There are two known issues caused by -OX flags of gcc.
GCC <= 9.2 with -O2 tends to use movdqa instruction for int128_t asignment operations that fails on unaligned memory addresses. Here is some information.

There is an issue with count(distinct d1) expressions used in projections. Repetitions of the query produces different results for the same data set.

SELECT count(distinct d1) FROM cs1;



 Comments   
Comment by Roman [ 2020-10-19 ]

Plz review.

Comment by Roman [ 2020-10-26 ]

gcc >= 7 has an internal optimization that converts ::memcpy into a pair of SIMD instructions so we are safe to leverage the optimization.

Generated at Thu Feb 08 02:49:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.