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

1737 Commits

Author SHA1 Message Date
David.Hall
206de40664 Merge pull request #788 from mariadb-corporation/develop-1.2-merge-up-20190619
MCOL-3388 Merge develop-1.1 into develop-1.2
2019-06-25 15:31:56 -05:00
Andrew Hutchings
089ec7d4dc MCOL-3391 Fix columnstore_upgrade unicode support
The columnstore_upgrade() procedure would break on utf8 table names.
This patch fixes that.
2019-06-25 17:15:30 +01:00
David Hall
567de10204 Merge branch 'develop-1.2' into MCOL-1559
Conflicts:
	dbcon/execplan/predicateoperator.h
2019-06-24 17:08:33 -05:00
David Hall
2255d41eaf MCOL-3343 Error when no group by for unaggregated fields in window functions. 2019-06-20 15:54:05 -05:00
David Hall
4cf2c37c18 MCOL-3343 Handle windowfunction <arithmetic op> simple column 2019-06-20 09:24:58 -05:00
Andrew Hutchings
cddb776bd4 Merge branch 'develop-1.1' into develop-1.2-merge-up-20190619 2019-06-19 18:34:43 +01:00
David Hall
b2cfcc249e Merge branch 'develop-1.2' into MCOL-3343 2019-06-18 12:17:32 -05:00
Andrew Hutchings
b05c4e8df4 MCOL-2243 Only set length and dec when dec is zero
Length and dec for columns only needs to be set when it is the result of
a function. Otherwise it could lead to odd side-effects in MariaDB.
2019-06-18 16:13:50 +01:00
David.Hall
a97a2c1add Merge pull request #778 from davidjmott/branches/davidjmott/MCOL-3353
fix to possible memory corruption
2019-06-17 10:53:19 -05:00
Andrew Hutchings
7d22a5945c MCOL-1989 Fix view in view subquery outer join
A view calling a view as part of a subquery outer join was not getting
the view name for the derived table columns. Which caused ColumnStore to
think it was joining outside of the view and triggered a missing column
error.

This fix adds the view name from the subquery if one cannot be obtained
from the field object.
2019-06-14 15:52:30 +01:00
David Hall
ea6592ea08 MCOL-3343 Try adding aggregate result to jobInfo.nonConstDelCol vector 2019-06-12 14:20:52 -05:00
Andrew Hutchings
e3cd205388 MCOL-1968 Fix UTF char/varchar min/max handling
If the first byte of a char/varchar was > 0x80 then it will break the
min/max values for an extent during cpimport. This patch makes the
min/max compare unsigned and only switches to signed when storing.

In addition send all the LDI / INSERT...SELECT data to cpimport, not
truncated. Let cpimport figure out the truncation point.
2019-06-11 10:37:04 +01:00
Andrew Hutchings
f8b834c8ec Merge pull request #777 from mariadb-corporation/MCOL-3304
MCOL-3304 During prepAggregate, if you set type to LONGDOUBLE, set sc…
2019-06-10 14:02:09 +01:00
Andrew Hutchings
5e4f1b9933 Merge branch 'develop' into MCOL-265 2019-06-10 13:58:03 +01:00
David Mott
fff18e0dd4 fix to possible memory corruption 2019-06-03 03:36:48 -05:00
Andrew Hutchings
dd3df5328c Merge pull request #776 from mariadb-corporation/MCOL-3239
MCOL-3239 CS pushes relevant filter predicates into derived tables.
2019-05-31 11:29:58 +01:00
Andrew Hutchings
5d96b1d8ba Merge pull request #775 from mariadb-corporation/MCOL-3314
MCOL-3314 Use something useful for stats functions oid and key during…
2019-05-31 11:28:33 +01:00
David Hall
23b594eb28 MCOL-3304 During prepAggregate, if you set type to LONGDOUBLE, set scale to 0 2019-05-28 15:56:30 -05:00
Roman Nozdrin
42f29096f0 MCOL-3239 CS pushes relevant filter predicates into derived tables.
This change disables predicate push for function column that
    contains both derived table column and non-derived table column.
2019-05-23 22:22:55 +03:00
David Hall
6b2f67a237 MCOL-3314 Use something useful for stats functions oid and key during prep1PhaseAggregate 2019-05-23 14:15:58 -05:00
David Hall
57152cf881 MCOL-1559 experimental 2019-05-23 10:42:25 -05:00
Andrew Hutchings
9390ee05fb Revert "MCOL-1559 Some string trailing blank stuff"
This reverts commit e5d76e142b.
2019-05-23 13:49:08 +01:00
Andrew Hutchings
922e828d6c Revert "MCOL-1559 trailing white space comparison"
This reverts commit aa802f44c5.
2019-05-23 13:48:56 +01:00
Andrew Hutchings
e7a331f3f8 Revert "MCOL-1559 trim spaces before compare"
This reverts commit 8d553ae9fb.
2019-05-23 13:48:43 +01:00
Andrew Hutchings
f3449fe2f4 Revert "MCOL-1559 trailing space compare"
This reverts commit 5b581f53cb.
2019-05-23 13:48:31 +01:00
Andrew Hutchings
73f7307ca2 Revert "MCOL-1559 trailing space compare"
This reverts commit e2cb644484.
2019-05-23 13:48:18 +01:00
Andrew Hutchings
8b1c0f6101 Revert "MCOL-1559 trim constant varchar string before adding filter"
This reverts commit b6484dda4a.
2019-05-23 13:48:00 +01:00
Andrew Hutchings
182e31e282 Revert "MCOL-1559 backout trim before setting compare. Shouldn't do this in all cases."
This reverts commit d78944d9ff.
2019-05-23 13:47:42 +01:00
Andrew Hutchings
fa0947caaa Revert "MCOL-1559 remove unused boost/trim header"
This reverts commit 28e743bf38.
2019-05-23 13:47:20 +01:00
Roman Nozdrin
e12a2acd53 MCOL-537 Regression test doesn't tolerate 'failed' in stderr, stdout.
I reformulate the messages.

    Changed version in preprocessor conditions to avoid compilation
    warnings in Debian 9.

    Disabled sign-compare check for generated files in DML/DDL.
2019-05-20 18:30:52 +03:00
David Hall
01ff86096a MCOL-3314 When setting up statistics functions for the UM, use values that actually exist. 2019-05-17 12:45:09 -05:00
David Hall
750b6ea0ff MCOL-3314 When setting up statistics functions for the UM, use values that actually exist. 2019-05-17 12:43:18 -05:00
Andrew Hutchings
45df72a416 Fix issue during merge 2019-05-14 14:36:46 +01:00
Andrew Hutchings
ee6575b013 Merge branch 'develop-1.1' into develop-1.2-merge-up-20190514 2019-05-14 14:26:41 +01:00
Andrew Hutchings
020b211bb7 Merge branch 'develop-1.2' into develop-merge-up-20190514 2019-05-14 13:58:33 +01:00
Roman Nozdrin
7e2cb05624 MCOL-537 There are no CS-specific warnings building with gcc 8.2. 2019-05-07 16:00:05 +03:00
Sergey Sedov
12d9e2ec95 fixup! MCOL-2051: CS uses 'NULL' literal as NULL when UPDATEs varchar field
Fixed to retain compatibility with CentOS 6 (no C++11 support).
Moved initialization to the ColumnAssignment constructor.
2019-05-02 10:16:45 +03:00
Sergey Sedov
83aad0c7b1 MCOL-2051: CS uses 'NULL' literal as NULL when UPDATEs varchar field: proxying NULL value. Note: empty strings are still considered NULLs later on. 2019-04-30 13:59:00 +03:00
Roman Nozdrin
9dc33c4e82 Another try to cope with warnings under gcc 8.2. 2019-04-29 11:05:03 +03:00
Patrick LeBlanc
cbbf267e88 MCOL-537, cleanup compiler warnings. Checkpointing a bunch of fixes.
Work in progress...
2019-04-29 10:56:48 +03:00
David Mott
56767ae793 Add a few missing qualifiers 2019-04-29 01:28:55 -05:00
David Mott
4b9d046c6e Fully resolve potentially ambiguous symbols by removing using namespace statements from headers which have a cascading effect. This causes potential behavior changes when switching to c++11 since symbols can be exported from std and boost while both have been imported into the global namespace. 2019-04-29 01:21:15 -05:00
Andrew Hutchings
1813add162 Merge pull request #743 from davidjmott/develop
Add -DSERVER_BUILD_DIR configure parameter to interrogate the server …
2019-04-26 14:02:20 +01:00
David Mott
e65f80f493 delete visual c++ project files. cmake can generate these if needed 2019-04-25 23:35:03 -05:00
David Mott
8b715fed44 permit script execution when sources reside on non-executable file system 2019-04-25 22:41:26 -05:00
Andrew Hutchings
291fbac506 Fix merge issue 2019-04-25 10:51:02 +01:00
Andrew Hutchings
784bbe09d4 Merge branch 'develop-1.2' into develop-merge-up-20190425 2019-04-25 10:27:59 +01:00
Roman Nozdrin
f4f053dd8c MCOL-3267 CS now executes sorting inside UNION ALL sub-selects. 2019-04-23 14:34:49 +03:00
Roman Nozdrin
ee83287c32 Merge pull request #735 from davidjmott/branches/davidjmott/enable-stdcxx11
Enable c++11 support.
2019-04-23 14:20:47 +03:00
Gagan Goel
e89d1ac3cf MCOL-265 Add support for TIMESTAMP data type 2019-04-23 00:00:09 -04:00