Alexander Barkov
0ff6a6ec20
Part#1 MCOL-495 Make string comparison not case sensitive
...
Fixing field='str' for long (Dict) string data types.
2020-12-04 07:49:00 +04:00
Alexander Barkov
2ea73846b9
MCOL-4422 Remove mariadb.h and my_sys.h dependency from collation.h
2020-11-30 14:26:35 +04:00
Roman Nozdrin
454ec4be99
Merge pull request #1613 from tntnatbry/MCOL-641-alter-table-fix
...
MCOL-641 Fix alter table add wide decimal column.
2020-11-26 18:17:01 +03:00
Gagan Goel
c5d4a918ee
MCOL-4188 Regression fixes for MCOL-641.
...
1. In TupleAggregateStep::configDeliveredRowGroup(), use
jobInfo.projectionCols instead of jobInfo.nonConstCols
for setting scale and precision if the source column is
wide decimal.
2. Tighten rules for wide decimal processing. Specifically:
a. Replace (precision > INT64MAXPRECISION) checks with
(precision > INT64MAXPRECISION && precision <= INT128MAXPRECISION)
b. At places where (colWidth == MAXDECIMALWIDTH) is not enough to
determine if a column is wide decimal or not, also add a check on
type being DECIMAL/UDECIMAL.
2020-11-24 20:15:33 -05:00
Gagan Goel
995cadef2d
MCOL-641 Fix alter table add wide decimal column.
...
This patch also removes CalpontSystemCatalog::BINARY and
ddlpackage::DDL_BINARY that were added during the initial
stages of the work on MCOL-641.
2020-11-20 19:49:54 -05:00
Roman Nozdrin
15b1bfa709
Fix fallthrough compilation warnings
2020-11-18 13:53:15 +00:00
Roman Nozdrin
3eb26c0d4a
MCOL-4313 Introduced TSInt128 that is a storage class for int128
...
Removed uint128 from joblist/lbidlist.*
Another toString() method for wide-decimal that is EMPTY/NULL aware
Unified decimal processing in WF functions
Fixed a potential issue in EqualCompData::operator() for
wide-decimal processing
Fixed some signedness warnings
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
844472d812
MCOL-4313 Very fragile but high speed approach with inline ASM
...
GCC compiler uses aligned versions of SIMD instructions expecting
aligned memory blocks that is hard to implement now
2020-11-18 13:52:20 +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
Gagan Goel
d3bc68b02f
MCOL-641 Refactor initial extent elimination support.
...
This commit also adds support in TupleHashJoinStep::forwardCPData,
although we currently do not support wide decimals as join keys.
Row estimation to determine large-side of the join is also updated.
2020-11-18 13:52:19 +00:00
Gagan Goel
6aea838360
MCOL-641 Add support for functions (Part 2).
2020-11-18 13:51:55 +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
62d0c82d75
MCOL-641 1. Templatized convertValueNum() function.
...
2. Allocate int128_t buffers in batchprimitiveprocessor if
a query involves wide decimal columns.
2020-11-18 13:47:44 +00:00
Gagan Goel
824615a55b
MCOL-641 Refactor empty value implementation in writeengine.
2020-11-18 13:47:44 +00:00
Roman Nozdrin
97ee1609b2
MCOL-641 Replaced NULL binary constants.
...
DataConvert::decimalToString, toString, writeIntPart, writeFractionalPart are not templates anymore.
2020-11-18 13:47:44 +00:00
Roman Nozdrin
c23ead2703
MCOL-641 This commit changes NULL and EMPTY values.
...
It also contains the refactored DataConvert::decimalToString().
Row::toString UT is finished.
2020-11-18 13:47:02 +00:00
Roman Nozdrin
de85e21c38
MCOL-641 This commit cleans up Row methods and adds couple UT for Row.
2020-11-18 13:47:02 +00:00
Roman Nozdrin
f73de30427
MCOL-641 This commit introduces GTest Suite into CS.
...
Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL
in the end.
ByteStream now has hexbyte alias.
Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
2020-11-18 13:47:01 +00:00
Gagan Goel
93170c3b31
MCOL-641 Basic support for multi-value inserts, and deletes.
2020-11-18 13:47:01 +00:00
Gagan Goel
55afcd8890
MCOL-641 Basic extent elimination support for Decimal38.
2020-11-18 13:47:01 +00:00
drrtuy
0ff0472842
MCOL-641 sum() now works with DECIMAL(38) columns.
...
TupleAggregateStep class method and buildAggregateColumn() now properly set result data type.
doSum() now handles DECIMAL(38) in approprate manner.
Low-level null related methods for new binary-based datatypes now handles magic values for
binary-based DT.
2020-11-18 13:47:01 +00:00
drrtuy
98213c0094
MCOL-641 Addition now works for DECIMAL columns with precision > 18.
2020-11-18 13:47:01 +00:00
drrtuy
54c152d6c8
MCOL-641 This commit introduces templates for DataConvert and RowGroup methods.
2020-11-18 13:47:01 +00:00
Gagan Goel
49a5573418
MCOL-641 Basic support for filtering operations for Decimal38.
2020-11-18 13:47:00 +00:00
Gagan Goel
77e1d6abe3
Basic SELECT support for Decimal38
2020-11-18 13:47:00 +00:00
Roman Nozdrin
63dcaa387f
MCOL-641 Simple INSERT with one record works with this commit.
2020-11-18 13:47:00 +00:00
Roman Nozdrin
df65543dd4
MCOL-641 This commit contains fixes for the rebase that mostly adds
...
WE_BINARY and WE_INT128 into switch-case blocks.
2020-11-18 13:47:00 +00:00
Roman Nozdrin
c9f42fb5cc
MCOL-641 PoC version for DECIMAL(38) using BINARY as a basis.
2020-11-18 13:47:00 +00:00
Gagan Goel
32f6167067
MCOL-641 Work of Ivan Zuniga on basic read and write support for Binary16
2020-11-18 13:47:00 +00:00
Alexey Antipovsky
98b94c0280
Remove deprecated boost::timer
...
Change the only one actual timer to std::chrono::steady_clock
2020-11-17 15:03:10 +03:00
Alexey Antipovsky
b25fee320a
Remove variable-length arrays (-Wvla)
2020-11-17 15:03:10 +03:00
Alexander Barkov
ab44ef6ddb
MCOL-4170 Refactor services/systemd units to finish their bootstrap ...
2020-11-09 12:01:16 +04:00
Roman Nozdrin
1c74f80d76
MCOL-4136 This patch makes an explicit dependency on generated errorids.h
2020-08-05 12:22:50 +00:00
Roman Nozdrin
7e868bc588
add dependency for generated header files errorids.h messageids.h patch made by Ben.
2020-07-10 18:38:49 +00:00
benthompson15
eac7dab096
MCOL-4030: first commit of warning removals unneed const and missing virtual dtors.
2020-06-23 13:51:36 -05:00
David Hall
f9078efbc6
MCOL-3536 Collation
2020-06-08 17:57:37 -05:00
David Hall
d289c30521
MCOL-3536 Collation
2020-06-08 17:19:07 -05:00
David Hall
236b92d706
MCOL-3536 Collation
2020-06-08 09:00:48 -05:00
David Hall
d1e85c468c
MCOL-3536 collation remove debug 1 thread
2020-06-05 10:22:31 -05:00
David Hall
78ac310e42
MCOL-3536 Collation
2020-06-01 15:08:15 -05:00
David Hall
06e50e0926
MCOL-3536 collation
2020-05-26 12:42:11 -05:00
David Hall
11ba12f6ea
MCOL-3536 collation
2020-05-19 16:22:44 -05:00
David Hall
8479a87e46
Merge branch 'develop' into MCOL-3536
2020-05-18 16:22:01 -05:00
David Hall
1f3d1e6fd6
MCOL-3536 collation
2020-05-14 16:02:49 -05:00
Jose
98abf95eae
MCOL-3991 MCS is now single package and properly uninstalls
2020-05-12 13:36:24 +00:00
Patrick LeBlanc
f480a28bdf
MCOL-3251. Changed the sig of buildOidFileName as per feedback.
2020-03-17 14:49:49 -04:00
Patrick LeBlanc
a65c8e4544
MCOL-3251
...
Moved the new logic into we_fileop to maintain existing encapsulation.
2020-03-13 15:18:55 -04:00