1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00
Commit Graph

1112 Commits

Author SHA1 Message Date
drrtuy
b29d0c9daa MCOL-641 Changed the hint to search for GTest headers.
This commit introduces DataConvert UTs.

DataConvert::decimalToString now can negative values.

Next version for Row::toString(), applyMapping UT checks.

Row:equals() is now wide-DECIMAL aware.
2020-11-18 13:47:02 +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
Gagan Goel
b07db9a8f4 MCOL-641 Basic support for updates. 2020-11-18 13:47:01 +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
drrtuy
2eb5af1d24 MCOL-641 This commit adds support for SIGNED and ZEROFILL keywords in
CREATE TABLE. ZEROFILL is dummy though.

There is a new file with column width utilities.

Array access was replaced by a variable that is calculated only once in
TupleJoiner::updateCPData.
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
84f9821720 MCOL-641 Switched to DataConvert static methods in joblist code.
Replaced BINARYEMPTYROW and BINARYNULL values. We need to have
separate magic values for numeric and non-numeric binary types
b/c numeric cant tolerate losing 0 used for magics previously.

atoi128() now parses minus sign and produces negative values.

RowAggregation::isNull() now uses Row::isNull() for DECIMAL.
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
drrtuy
0c67b6ab50 MCOL-641 atoi128 now correctly processes decimal point and - signs.
There are multiple overloaded version of the low level DML write methods to
push down CSC column type. WE needs the type to convert values correctly.

Replaced WE_INT128 with CSC data type that is more informative.

Removed commented and obsolete code.

Replaced switch-case blocks with oneliners.
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
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
45b4ec9065 Set minimal GCC version to 5 to ignore -Wunused-result 2020-11-17 15:03:10 +03:00
Alexey Antipovsky
484b9429ea Explicitly define copy ctor (-Wdeprecated-copy) 2020-11-17 15:03:10 +03:00
Alexey Antipovsky
b25fee320a Remove variable-length arrays (-Wvla) 2020-11-17 15:03:10 +03:00
Alexey Antipovsky
0e29b0b0f9 Fix -Wtype-limits 2020-11-17 15:03:10 +03:00
Roman Nozdrin
677e4cfa8c Fix for the rebuild from source step 2020-11-14 10:16:51 +00:00
Alexander Barkov
ab44ef6ddb MCOL-4170 Refactor services/systemd units to finish their bootstrap ... 2020-11-09 12:01:16 +04:00
Roman Nozdrin
f171867c57 Merge pull request #1547 from pleblanc1976/document-rg-1.5
Updated the documentation in rowgroup.h
2020-11-06 12:59:55 +03:00
Gagan Goel
452f83f333 Properly initialize hasCollation data member of Row and RowGroup classes. 2020-10-30 16:28:35 +00:00
Patrick LeBlanc
6afa702564 Updated the documentation in rowgroup.h 2020-10-27 14:29:57 -04:00
Alexander Barkov
24ea5df606 Merge pull request #1533 from drrtuy/MCOL-4368-dev
Don't merge yet MCOL-4368 Unified exceptions handling code in dbcon/joblist
2020-10-27 21:45:15 +04:00
Roman Nozdrin
cd48df99e5 MCOL-4368 Unified exceptions handling code in dbcon/joblist 2020-10-21 18:17:32 +00:00
benthompson15
cb7967f779 Update libmarias3 ref 2020-10-20 14:17:19 -05:00
benthompson15
1b5a3ba59c update libmarias3 2020-10-15 15:49:12 -05:00
benthompson15
eb79e604e0 Fix for IAM/STS to have sts_region configurable and not tied to S3 bucket region. 2020-10-15 15:40:53 -05:00
benthompson15
cd90372262 Update libmariaS3 ref for fixes 2020-10-15 15:39:19 -05:00
benthompson15
dd0a98943c Update libmarias3 ref. 2020-10-15 15:34:37 -05:00
benthompson15
b3f5142141 renamed assumeRole to assume_role. 2020-10-15 15:34:25 -05:00
benthompson15
ff86864d9e Update libmarias3 cmake definitions for updates to libmarias3 2020-10-15 15:34:20 -05:00
benthompson15
473af161c3 MCOL-3976:AWS S3 support for IAM roles. Initial commit. 2020-10-15 15:34:13 -05:00
Roman Nozdrin
6f120d2637 MCOL-4328 MCS avoids chown() calls for files that are on S3
MCS now chowns created directories hierarchy not only files and
immediate parent directories

Minor changes to cpimport's help printout

cpimport's -f option is now mandatory with mode 2
2020-10-09 11:02:31 +00:00
David Hall
c032d72539 MCOL-4327 dev Add std:: qualifier to distance()
In Ubuntu 20.04, it appears that unqualified, distance() is found in both std:: and boost::
2020-09-28 12:48:50 -05:00
David Hall
35c4b66a67 MCOL-4144 Enable lower_case_table_names
Create tables and schemas with lower case name only if the flag is set.
During operations, convert to lowercase in plugin. Byt the time a query gets to ExeMgr, DDLProc etc., everything must be lower case if the flag is set, and undisturbed if not.
2020-09-24 15:21:13 -05:00
benthompson15
83f5ff5723 MCOL-4191: Install jemalloc.so with columnstore 2020-09-11 13:09:31 -05:00
David Hall
e44d487011 MCOL-4099 fix range check 2020-08-28 13:46:21 -05:00
David Hall
de3b2452a1 MCOL-4099 allow insert on first or last char 2020-08-28 10:37:57 -05:00
David Hall
791ff2bea4 MCOL-4236 DATE is still returned as INT 2020-08-19 14:35:09 -05:00
David Hall
6075aa337c MCOL-4236 Change ceil(datetime) to return datetime type 2020-08-19 14:29:06 -05: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
Patrick LeBlanc
76cc777204 Merge pull request #1317 from dhall-MariaDB/MCOL-4125
MCOL-4125 CHAR must ignore NULL parameters
2020-06-30 10:56:45 -05:00
David Hall
1d9b9a1bc8 MCOL-4125 CHAR must ignore NULL parameters 2020-06-29 11:41:59 -05:00
Patrick LeBlanc
e94306a8d8 Merge pull request #1308 from dhall-MariaDB/MCOL-4099
MCOL-4099 Fix up first char insertion
2020-06-29 10:34:41 -05:00
Patrick LeBlanc
d840fab5a3 Merge pull request #1309 from dhall-MariaDB/MCOL-4100
MCOL-4100 Use correct collation for certain functions
2020-06-29 10:32:01 -05:00