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
Roman Nozdrin
5266b04f81 Merge pull request #1660 from mariadb-corporation/develop-bar-strings
A cleanup for MCOL-4064 Make JOIN collation aware
2020-12-08 17:48:48 +03:00
Alexander Barkov
b08d719593 A cleanup for MCOL-4064 Make JOIN collation aware
A non-JOIN condition like `WHERE c1=c2` (with c1 and c2 being columns of the
same table) was not collation-aware yet after the main patches for MCOL-4064.

Additionally fixing StrFilterCmd::compare*() to address this.
2020-12-08 16:43:07 +04:00
Roman Nozdrin
23df62e337 Merge pull request #1658 from mariadb-corporation/MCOL-2000-dev
MCOL-2000 Fix `CREATE TABLE` syntax
2020-12-08 13:41:51 +03:00
Roman Nozdrin
1be0f23c50 Merge pull request #1622 from mariadb-SergeyZefirov/MCOL-2044-refactoring
Refactor better extent info bookkeeping structure and handling
2020-12-08 13:40:37 +03:00
Roman Nozdrin
f9a0e359aa Merge pull request #1645 from mariadb-corporation/mtr-branches
mtr branch mapping
2020-12-08 13:09:36 +03:00
Roman Nozdrin
8ef0ca0f7f Merge pull request #1656 from drrtuy/remove_timezone_call
Move Functor::timeZone() call that utilizes a lock into a block where
2020-12-08 12:09:25 +03:00
mariadb-RomanNavrotskiy
5b044fec53 mtr branch mapping 2020-12-07 23:20:11 +02:00
Alexey Antipovsky
b1d1ad1486 MCOL-2000 Fix CREATE TABLE syntax
for a generated replacement statements of original statements:
* `CREATE TABLE .. LIKE ..`
* `ALTER TABLE .. ENGINE=Columnstore`
* `CREATE TABLE .. AS ..`
2020-12-07 18:12:25 +03:00
Roman Nozdrin
069b74563f Move Functor::timeZone() call that utilizes a lock into a block where
timezone is really used
2020-12-07 14:35:30 +00:00
Sergey Zefirov
2bfe9b6c19 Refactor better extent info bookkeeping structure and handling
Logs for research purposes

Keep progress - may not build

Good interface to collect LBIDs and CPInfo's

Write Engine compiles with new interface

New interface breaks things the least way and allows for new features to be added gradually.

Still ironing design - rewriting parts of WE

Keep progress commit

Write Engine compiles, going to test

I could introduce crashes there. Let's see.

Disable logging for tests

Fixing build problems - keep progress commit

Changed related to new interface

Add back accidentally removed m_txnLBIDMap.find

Remove printf/cout; up-to-date comment for AddLBIDtoList

Add "auto" type annotation

Work on PR comments

Descriptive vector emptines check
2020-12-07 13:12:36 +03:00
Roman Nozdrin
5ef444c46e Merge pull request #1644 from drrtuy/clean_up_comparison
Trim up Decimal comparison
2020-12-05 21:02:31 +03:00
Roman Nozdrin
bb70f845fb Trim up Decimal comparison 2020-12-05 12:19:50 +00:00
Roman Nozdrin
c8266ed313 Merge pull request #1634 from mariadb-corporation/develop-bar-MCOL-4425
MCOL-4425 INSERT..SELECT hangs on cpimport when MCS is installed in a…
2020-12-04 19:40:49 +03:00
Roman Nozdrin
667a6ded36 Merge pull request #1652 from mariadb-corporation/MCOL-2000-dev
MCOL-2000 Process charset definitions in the DDL
2020-12-04 19:15:27 +03:00
Roman Nozdrin
447cf9fc08 Merge pull request #1651 from drrtuy/fix_behavior_change
Fix for a behavior change + additional logging
2020-12-04 17:27:20 +03:00
Alexander Barkov
607ae3f3d1 MCOL-4425 INSERT..SELECT hangs on cpimport when MCS is installed in a non-default path
Using absolute path when building cpimport command line for execvp().
2020-12-04 17:21:38 +04:00
Roman Nozdrin
160d243d6e Fix for a behavior change + additional logging 2020-12-04 13:00:59 +00:00
Alexey Antipovsky
d2e7c9d98d MCOL-2000 Process charset definitions in the DDL
MCOL-2000 Process charset definitions in the ALTER TABLE .. ADD COLUMN

MCOL-2000 Yet another fixes for column charsets

* make respect for column (including table/db/server default) charsets
  for the TEXT(n) fields
* round TEXT(n) column length up to the next default length of TEXT-like
  subtypes, 255 (TINYTEXT), 65535 (TEXT) and so on up to 2100000000
  (LONGTEXT)
2020-12-04 15:01:01 +03:00
Roman Nozdrin
6b13fbc210 Merge pull request #1650 from mariadb-corporation/develop-bar-strings
Develop bar strings
2020-12-04 12:05:11 +03:00
Roman Nozdrin
dd8289d4fd Merge pull request #1619 from tntnatbry/MCOL-4188-bps-wf-fix
MCOL-4188 Regression fixes for MCOL-641.
2020-12-04 08:16:34 +03:00
Alexander Barkov
3ffc936740 MCOL-4428 WHERE char6col <='STR' OR char6col IS NULL -- returns a wrong result after MCOL-495 2020-12-04 08:49:41 +04:00
Alexander Barkov
4f6b6a8871 MCOL-4417 Non-equality comparison operators do not work well with NOPAD collations 2020-12-04 08:46:46 +04:00
Alexander Barkov
03eac56d55 Part#2 MCOL-4064 Make JOIN collation aware
Making field1=field2 collation aware for short CHAR/VARCHAR.

Forcing typeless join if any of the sides is CHAR/VARCHAR,
no matter what width is.
2020-12-04 08:46:01 +04:00
Alexander Barkov
c6158eee31 Part#1 MCOL-4064 Make JOIN collation aware
Making field1=field2 collation aware for long CHAR/VARCHAR.
2020-12-04 08:41:26 +04:00
Alexander Barkov
52c5af054a Part#2 MCOL-495 Make string comparison not case sensitive
Fixing field='str' for short (non-Dict) CHAR and VARCHAR data types.
2020-12-04 08:40:29 +04:00
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
David.Hall
a53f93df43 Merge pull request #1648 from benthompson15/MCOL-3889-dev
MCOL-3889: use ENGINE_DATADIR cmake value for storagemanager.cnf paths
2020-12-03 16:41:51 -06:00
benthompson15
02dd4f6ab6 MCOL-3889: use ENGINE_DATADIR cmake value for storagemanager.cnf paths 2020-12-03 16:32:00 -06:00
David.Hall
d3ebfd219d Merge pull request #1641 from benthompson15/MCOL-4323-dev
MCOL-4323: use vlarray.h
2020-12-02 14:25:17 -06:00
benthompson15
4900559545 MCOL-4323: use vlarray.h 2020-12-02 14:13:05 -06:00
David.Hall
464b02c1ba Merge pull request #1638 from jmrojas2332/MCOL-2055
MCOL-2055 Fix. Flush PrimProc Cache during batchinserts
2020-12-02 13:26:54 -06:00
Jose Rojas
d1908f7a0f MCOL-2055. Only flush the oids from the primproc cache 2020-12-02 18:58:02 +00:00
Jose Rojas
69550cbe78 MCOL-2055 Fix. Flush PrimProc Cache during batchinserts 2020-12-02 17:10:20 +00:00
David.Hall
026c382d88 Merge pull request #1630 from benthompson15/MCOL-4323-dev
MCOL-4323: Encode / Decode - dev
2020-12-01 13:54:19 -06:00
benthompson15
4319dcf89f Merge pull request #1628 from dhall-MariaDB/MCOL-4105-dev
MCOL-4105 dev skip calpontsys tables
2020-12-01 13:10:13 -06:00
benthompson15
3e9b7b3401 Initial commit for Encode/Decode. 2020-12-01 12:39:56 -06:00
David Hall
611ad780ef MCOL-4105 dev skip calpontsys tables
Procedure columnstore_upgrade trips table comments. This is not allowed for calpontsys tables.
2020-12-01 09:57:01 -06:00
Roman Nozdrin
84fb821c47 Merge pull request #1610 from tntnatbry/MCOL-4188-aggr-fixes-dev
MCOL-4188 Regression fixes for MCOL-641.
2020-12-01 17:07:38 +03:00
Gagan Goel
a159f8a0b6 MCOL-4188 Regression fixes for MCOL-641.
1. Add wide decimal support to AggregateColumn::evaluate
and TreeNode::getDecimalVal().
2. Use the pm aggregate attributes to determine um aggregate
attributes in TupleAggregateStep::prep2PhasesAggregate.
2020-11-30 13:49:05 -05:00
Roman Nozdrin
aa64d81cde Merge pull request #1612 from tntnatbry/MCOL-4188-subquery-orderby-predicateop-fix-dev
MCOL-4188 Regression fixes for MCOL-641.
2020-11-30 17:17:20 +03:00
Roman Nozdrin
d94768f58d Merge pull request #1625 from drrtuy/MCOL-4409_3
MCOL-4409 Moved static Decimal conversion methods into VDecimal class
2020-11-30 17:15:36 +03:00
Roman Nozdrin
494bde61e1 MCOL-4409 Moved static Decimal conversion methods into VDecimal class
MCOL-4409 This patch combines VDecimal and Decimal and makes
IDB_Decimal an alias for the result class

MCOL-4409 More boilerplate reduction in Func_mod

Removed couple TSInt128::toType() methods
2020-11-30 12:08:52 +00:00
Roman Nozdrin
2003417a89 Merge pull request #1624 from mariadb-corporation/develop-bar-MCOL-4422
MCOL-4422 Remove mariadb.h and my_sys.h dependency from collation.h
2020-11-30 15:01:17 +03:00
Roman Nozdrin
d6e542ad28 Merge pull request #1621 from drrtuy/fix-crash
Fix crash in release builds that happens in RowGroup::initRow() for w…
2020-11-30 14:13:08 +03: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
a53119d5d5 Fix crash in release builds that happens in RowGroup::initRow() for wide DECIMAL 2020-11-30 08:17:27 +00:00
Gagan Goel
785bc43435 MCOL-4188 Regression fixes for MCOL-641.
1. Make PredicateOperator::setOpType() function wide decimal aware.
  2. Added support for wide decimal in jlf_subquery.cpp::getColumnValue()
     used in scalar subqueries.
  3. Fixed the column index used for fetching wide decimal values from a Row
     when a wide decimal field is used in the order by clause.
2020-11-27 13:27:48 -05:00
Gagan Goel
9c18771b61 MCOL-4188 Regression fixes for MCOL-641.
1. In BatchPrimitiveProcessorJL::countThisMsg(), exit early if the
return code from primproc is non-zero.
2. For statistical window functions (stddev/var), properly handle
the case when there is only one value for the calculation.
2020-11-27 03:04:30 +00: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
Roman Nozdrin
b106daacb7 Merge pull request #1615 from drrtuy/MCOL-4394-3
MCOL-4394 Followup
2020-11-25 20:06:58 +03:00