Roman Nozdrin
5ba6737965
Fixes for Decimal multiplication overflow check and RowGroup UTs
2020-11-22 17:55:22 +00:00
Roman Nozdrin
58495d0d2f
MCOL-4387 Convert dataconvert::decimalToString() into VDecimal and TSInt128 methods
2020-11-18 13:53:16 +00:00
Alexander Barkov
d5c6645ba1
Adding mcs_basic_types.h
...
For now it consists of only:
using int128_t = __int128;
using uint128_t = unsigned __int128;
All new privitive data types should go into this file in the future.
2020-11-18 13:53:15 +00:00
Alexander Barkov
129d5b5a0f
MCOL-4174 Review/refactor frontend/connector code
2020-11-18 13:53:15 +00:00
Roman Nozdrin
1588ebe439
MCOL-641 Clean up primitives code
...
Add int128_t support into ByteStream
Fixed UTs broken after collation patch
2020-11-18 13:52:19 +00:00
Roman Nozdrin
17bad9eb0b
MCOL-641 Initial support for ORDER BY on wide DECIMALs.
2020-11-18 13:51:26 +00:00
Roman Nozdrin
51d77d74df
MCOL-641 Fix for GROUP BY on wide-DECIMALs.
2020-11-18 13:51:26 +00:00
Roman Nozdrin
f63611c422
MCOL-641 This commit adds support for group_concat w/o ORDER BY.
...
Small refactoring in Row methods.
2020-11-18 13:51:26 +00:00
Gagan Goel
554c6da8e8
MCOL-641 Implement int128_t versions of arithmetic operations and add unit test cases.
2020-11-18 13:47:45 +00:00
Roman Nozdrin
b5534eb847
MCOL-641 Refactored MultiplicationOverflowCheck but it still has flaws.
...
Introduced fDecimalOverflowCheck to enable/disable overflow check.
Add support into a FunctionColumn.
Low level scanning crashes on medium sized data sets.
2020-11-18 13:47:45 +00:00
Gagan Goel
74b64eb4f1
MCOL-641 1. Add support for int128_t in ParsedColumnFilter.
...
2. Set Decimal precision in SimpleColumn::evaluate().
3. Add support for int128_t in ConstantColumn.
4. Set IDB_Decimal::s128Value in buildDecimalColumn().
5. Use width 16 as first if predicate for branching based on decimal width.
2020-11-18 13:47:45 +00:00
Roman Nozdrin
b09f3088ca
MCOL-641 Initial version of Math operations for wide decimal.
2020-11-18 13:47:44 +00:00
Gagan Goel
9b714274db
MCOL-641 1. Minor refactoring of decimalToString for int128_t.
...
2. Update unit tests for decimalToString.
3. Allow support for wide decimal in TupleConstantStep::fillInConstants().
2020-11-18 13:47:44 +00:00
Roman Nozdrin
2e8e7d52c3
Renamed datatypes/decimal.* into csdecimal to avoid collision with MDB.
2020-11-18 13:47:44 +00:00
Roman Nozdrin
238386bf63
MCOL-641 Replaced IDB_Decima.__v union with int128_t attribute.
...
Moved all tests into ./test
Introduced ./datatypes directory
2020-11-18 13:47:44 +00:00