1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-17 01:02:23 +03:00
Commit Graph

5453 Commits

Author SHA1 Message Date
benthompson15
ef1268b5a2 Merge pull request #1713 from dhall-MariaDB/MCOL-4472-dev
MCOL-4472 Fix up floor() for the new format MariaDB 10.5
2021-01-19 13:32:13 -06:00
Roman Nozdrin
8206fafb7c MCOL-4496 Upmerged the commit 7fa5ca3a6 to generalise CHAR|VARCHAR|TEXT|BLOB
bulk insertion processing and fix the original issue introduced by MCOL-2000
2021-01-19 13:25:06 +00:00
Roman Nozdrin
2b030f6f5a Merge pull request #1720 from drrtuy/MCOL-4412
MCOL-4412
2021-01-18 17:57:54 +03:00
Roman Nozdrin
5fce19df0a MCOL-4412 Introduce TypeHandler::getEmptyValueForType to return const ptr for an empty value
WE changes for SQL DML and DDL operations

Changes for bulk operations

Changes for scanning operations

Cleanup
2021-01-18 12:30:17 +00:00
Roman Nozdrin
16b52860e8 Merge pull request #1717 from mariadb-corporation/bar-develop-MCOL-4464
A cleanup for MCOL-4464 Bitwise operations not like in MariaDB
2021-01-13 17:45:07 +03:00
Alexander Barkov
b8cfda3bda A cleanup for MCOL-4464 Bitwise operations not like in MariaDB
CI with RelWithDebInfo builds revealed a problem in the main
patch for MCOL-4464, which did not show up with Debug builds.

Methods like:
- getDoubleVal()
- getDateIntVal()
- getDatetimeIntVal()
- getTimestampIntVal()
- getTimeIntVal()
- getUintVal()
- getIntVal()
- getStrVal()
require the caller to initialize the isNull argument to false.
This fact was not taken into account in MCOL-4464.

Adding proper initializations.
2021-01-13 16:51:38 +04:00
Roman Nozdrin
895afe1925 Merge pull request #1716 from mariadb-corporation/autobake-upd-d
ci: merge configuration from develop-5
2021-01-12 20:52:11 +03:00
mariadb-RomanNavrotskiy
bcf5e066a3 ci: merge configuration from develop-5 2021-01-12 16:29:53 +02:00
Alexander Barkov
e72d90609c Merge pull request #1715 from mariadb-corporation/bar-develop-MCOL-4454
MCOL-4454 "ORDER BY BINARY a" is not like in InnoDB
2021-01-12 14:11:54 +04:00
Alexander Barkov
09f937693f MCOL-4454 "ORDER BY BINARY a" is not like in InnoDB 2021-01-12 12:33:44 +04:00
Roman Nozdrin
bedb2849fc Merge pull request #1692 from mariadb-corporation/bar-develop-MCOL-4464
MCOL-4464 Bitwise operations not like in MariaDB
2021-01-11 15:10:05 +03:00
Alexander Barkov
4abbe90302 MCOL-4464 Bitwise operations not like in MariaDB 2021-01-11 14:14:34 +04:00
David Hall
6e41b41637 MCOL-4472 Fix up floor() for the new format MariaDB 10.5
In 105, MariaDB expects a new format from floor()
2021-01-08 15:00:31 -06:00
Roman Nozdrin
0e6778378d Merge pull request #1705 from drrtuy/MCOL-4478
MCOL-4478 MCS now rounds the last digit of an avg() result
2021-01-06 15:30:34 +03:00
Roman Nozdrin
c7190a9856 Merge pull request #1706 from drrtuy/MCOL-4479
MCOL-4479 Imported couple functions from boost::math to remove libqua…
2020-12-30 18:42:27 +03:00
Roman Nozdrin
5b9689ce55 MCOL-4478 MCS now rounds the last digits of an avg() result for wide-DECIMAL argument 2020-12-30 15:02:12 +00:00
Roman Nozdrin
aa5211f192 MCOL-4479 Imported couple functions from boost::math to remove libquadmath dependency 2020-12-30 10:34:50 +00:00
Roman Nozdrin
e4bb7625f1 Merge pull request #1697 from drrtuy/MCOL-4470
MCOL-4470 Fix the crash in collation aware JOIN code
2020-12-29 10:54:23 +03:00
Roman Nozdrin
cf11e03d4b Merge pull request #1695 from drrtuy/MCOL-4468
MCOL-4468 Add forgotten cast from long saved as boost::any into int64…
2020-12-24 17:29:39 +03:00
Roman Nozdrin
13e160ec2b MCOL-4470 Fix the crash in collation aware JOIN code 2020-12-24 14:28:09 +00:00
Roman Nozdrin
23603d8931 Merge pull request #1696 from mariadb-AlexeyAntipovsky/MCOL-4453-ant
MCOL-4453,4455 LIMITs issues
2020-12-24 11:35:27 +03:00
Alexey Antipovsky
e7b43b8299 MCOL-4455 Fix ignoring LIMIT offset
"SELECT DISTINCT col FROM table LIMIT O,N" should skip first O rows
2020-12-24 09:55:59 +03:00
Alexey Antipovsky
45c34553db MCOL-4453 Fix SELECT ... LIMIT 0, now it returns an empty set as expected 2020-12-24 09:55:59 +03:00
Roman Nozdrin
5d4d7c100c Merge pull request #1694 from drrtuy/MCOL-4467
MCOL-4467 Enable -O0 for debug builds
2020-12-23 18:41:21 +03:00
Roman Nozdrin
c399249b1e MCOL-4468 Add forgotten cast from long saved as boost::any into int64_t for WR_LONGLONG 2020-12-23 13:44:53 +00:00
Roman Nozdrin
b0f97611fc Merge pull request #1691 from drrtuy/MCOL-4465_MCOL-4466_MCOL-4452
Mcol 4465 mcol 4466 mcol 4452
2020-12-23 16:28:40 +03:00
Roman Nozdrin
837c641ee4 MCOL-4467 Enable -O0 for debug builds 2020-12-23 10:50:26 +00:00
Roman Nozdrin
994d9a5125 MCOL-4465 Use a proper ColType for UDAF in a projection RowGroup 2020-12-23 10:32:11 +00:00
Roman Nozdrin
2c36eedb2b MCOL-4466 regr_count() and distinct_count() now use long long for counters and for a type cast to/from boost::any 2020-12-22 15:53:06 +00:00
Roman Nozdrin
5815c5c526 MCOL-4452 RowAggregationUMP2::doUDAF() now calls setUserData() using a correct UDAF context 2020-12-22 15:43:51 +00:00
Roman Nozdrin
c004da502a Merge pull request #1689 from drrtuy/MCOL-4463
MCOL-4463 Fix for BETWEEN() and wide DECIMAL columns
2020-12-22 12:07:29 +03:00
Roman Nozdrin
485d6b119d Merge pull request #1690 from zhjwpku/add_build_instructions
MDB Columnstore build instructions, phase 1: install dependencies
2020-12-21 13:54:03 +03:00
Zhao Junwang
cfeff5ee96 MDB Columnstore build instructions, phase 1: install dependencies
This patch install MCS dependencies so that it can build. Most of
the code are from git@github.com:drrtuy/cs-docker-tools.git.

Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
2020-12-20 22:08:16 +08:00
Roman Nozdrin
ba4190d200 MCOL-4463 Fix for BETWEEN() and wide DECIMAL columns 2020-12-18 14:55:32 +00:00
Roman Nozdrin
bfe90be3db Merge pull request #1677 from tntnatbry/MCOL-4177-2
MCOL-4177 Add support for bulk insertion for wide decimals.
2020-12-18 12:37:23 +03:00
Roman Nozdrin
45197c49d1 Merge pull request #1678 from tntnatbry/MCOL-4180
MCOL-4180 Add some missing support for wide decimals to dbcon/execplan classes.
2020-12-18 12:27:07 +03:00
benthompson15
0a9fc0550f Merge pull request #1688 from dhall-MariaDB/MCOL-4319-dev
MCOL-4319 add logrotate for cpimport logs
2020-12-17 09:51:12 -06:00
benthompson15
e0ee2bbddf Merge pull request #1687 from dhall-MariaDB/MCOL-4263-dev
MCOL-4263 return int for func_floor on datetime
2020-12-17 09:50:45 -06:00
David Hall
eae1d913c0 MCOL-4319 add logrotate for cpimport logs 2020-12-16 16:39:17 -06:00
David Hall
d35002fb65 MCOL-4263 return int for func_floor on datetime
For TIMESTAMP, it should do similar. However, it didn't work. For some reason, MDB has the function set as DATETIME, which for cs, isn't the same thing. Added a kludge to ha_mcs_execplan.cpp to handle it.
2020-12-16 16:23:21 -06:00
Gagan Goel
f6b55c1e18 MCOL-4177 Add support for bulk insertion for wide decimals.
1. This patch adds support for wide decimals with/without scale
     to cpimport. In addition, INSERT ... SELECT and LDI are also
     now supported.
  2. Logic to compute the number of bytes to convert a binary
     representation in the buffer to a narrow decimal is also
     simplified.
2020-12-15 22:14:54 +00:00
Roman Nozdrin
cc6c51b540 Merge pull request #1676 from tntnatbry/PrimProc-SBL-fix
Add PrimProc support for selective block loading for 16-byte columns.
2020-12-14 12:15:46 +03:00
Gagan Goel
ed7811e161 MCOL-4180 Add some missing support for wide decimals to dbcon/execplan
classes.
2020-12-12 00:14:48 +00:00
Gagan Goel
a91fb15b07 Add PrimProc support for selective block loading for 16-byte columns. 2020-12-11 14:23:45 -05:00
Roman Nozdrin
9c623a5434 Merge pull request #1669 from benthompson15/MCOL-4437-dev
MCOL-4437: change VLArray definition for ScopedCloser
2020-12-11 11:19:07 +03:00
David.Hall
d763c849c0 Merge pull request #1667 from mariadb-corporation/develop-bar-string
A cleanup for MCOL-4064 Make JOIN collation aware
2020-12-10 10:27:17 -06:00
benthompson15
438d6949d5 MCOL-4437: change VLArray definition for ScopedCloser 2020-12-10 09:33:05 -06:00
Alexander Barkov
a433c65575 A cleanup for MCOL-4064 Make JOIN collation aware
After creating and populating tables with CHAR(5) case insensitive columns,
in a set of consequent joins like:

select * from t1, t2 where t1.c1=t2.c1;
select * from t1, t2 where t1.c1=t2.c2;
select * from t1, t2 where t1.c2=t2.c1;
select * from t1, t2 where t1.c2=t2.c2;

only the first join worked reliably case insensitively.

Removing the remaining pieces of the code that used order_swap() to compare
short CHAR columns, and using Charset::strnncollsp() instead.
This fixes the issue.
2020-12-10 19:19:36 +04:00
Roman Nozdrin
4da3d8b376 Merge pull request #1661 from mariadb-corporation/centos8-repowertools-repo
centos8 powertools repo fix
2020-12-09 12:03:12 +03:00
mariadb-RomanNavrotskiy
5236720977 centos8 powertools repo fix 2020-12-08 20:56:46 +02:00