1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-07 20:42:15 +03:00
Commit Graph

3637 Commits

Author SHA1 Message Date
Andrew Hutchings
fe8228e50a Fix build order so ms3 is checked out 2019-09-24 16:47:00 +01:00
David.Hall
d4e6a282ab Merge pull request #873 from mariadb-corporation/develop-merge-up-20190924-2
Merge develop-1.2 into develop
2019-09-24 09:58:16 -05:00
Andrew Hutchings
4e92e75274 Fix merge conflict issue 2019-09-24 15:20:27 +01:00
Andrew Hutchings
70b3aa3159 Merge branch 'develop-1.2' into develop-merge-up-20190924-2 2019-09-24 14:17:57 +01:00
Andrew Hutchings
8c207bf412 MCOL-3515 Remove distributed install
Non-distributed is now the only install method.
2019-09-24 12:02:10 +01:00
Andrew Hutchings
8633859dd4 MCOL-3514 Add support for S3 to cpimport
cpimport now has the ability to use libmarias3 to read an object from an
S3 bucket instead of a file on local disk.

This also moves libmarias3 to utils/libmarias3.
2019-09-24 10:31:22 +01:00
benthompson15
90a3a06b0b fix path in copy test 2019-09-23 15:02:06 -05:00
Andrew Hutchings
66d59a760d Merge pull request #868 from mariadb-corporation/sm-config-path-fix
Paths to check for SM cnf file fix
2019-09-23 10:05:30 +01:00
benthompson15
1809598f03 MCOL-3436: Modify signal handling to not shutdown on non term or core signals. 2019-09-20 16:07:40 -05:00
benthompson15
4c21bb6c44 Should not be checking the COLUMNSTORE_INSTALL_DIR env before looking for the cnf file in MCSSYSCONFDIR. 2019-09-20 15:54:10 -05:00
Roman Nozdrin
a710dff9e1 MCOL-2178 CS now can have string literals and functions with literals
in projection list of the queries with GROUP BY and ORDER BY.

Removed support for Item_equal b/c it is an internal format MDB uses
and shouldn't be used outside of MDB's optimizer.
2019-09-20 13:35:49 +03:00
Gagan Goel
abea9481b7 Preserve the sign when a double is -0 in fetchNextRow() 2019-09-19 15:48:14 -04:00
Gagan Goel
3ce8f98f40 Merge pull request #866 from drrtuy/fix-having
MCOL-2178 Fix having and partially distinctAggregationAndGroupBy
2019-09-19 09:57:42 -04:00
Roman Nozdrin
69c1a613fa MCOL-2178 Fix distinctAggregationAndGroupBy by allowing to traverse into
any function in projection looking for either aggregation function or
GROUP BY key column.

MDB doesn't convert Item_equal into corresponding Item_func_eq w/o
OPTIMIZER_SWITCH_COND_PUSHDOWN_FROM_HAVING optimizer flag.
Activation of the flag fixes queries from having test scenario w
equal operator in HAVING, e.g. HAVING c1 = 50.
2019-09-19 08:06:39 +03:00
benthompson15
f62ea7e30e running as root for BB regression requires this to be 1 2019-09-18 11:45:24 -05:00
benthompson15
3b5c7f7ed4 Update unit_tests for testing short messages and connection loss 2019-09-18 11:02:33 -05:00
Roman Nozdrin
975463c2ab Merge pull request #861 from tntnatbry/save-groupby-constant-cols
Save and restore the group by list columns
2019-09-17 19:29:20 +03:00
Gagan Goel
7599a9379e Save and restore the group by list columns as the server
optimizer can optimize out the constant columns in this list
2019-09-17 10:36:49 -04:00
Roman Nozdrin
09a482ea21 Merge pull request #865 from tntnatbry/remove-pr-835
Undo changes of PR 835
2019-09-17 11:19:22 +03:00
Gagan Goel
5fe8388760 Undo commit e60fbf260f 2019-09-17 00:45:04 -04:00
Gagan Goel
21a98de22a Merge pull request #864 from drrtuy/set-optimizer-flags
MCOL-2178 CS now sets optimizer flags like it did in the fork-era.
2019-09-17 00:10:39 -04:00
benthompson15
021009fe99 Change posixtask::read to return int instead of bool and handle when data read is short of expected message length. 2019-09-16 16:26:42 -05:00
benthompson15
99399d289f change the test cnf file to use 8K objects for unit_test edge cases. 2019-09-16 16:24:28 -05:00
Roman Nozdrin
eadc94c69f Merge pull request #863 from tntnatbry/fix-if-in-orderby
Fix for IF function in the order by clause and handle hexadecimal literals.
2019-09-16 20:38:18 +03:00
Gagan Goel
df1f5aa545 1. Allow IF function with an aggregate function as an argument in the order by clause.
2. Handle hexadecimal literals of the form 0xHHHH... in gp_walk().
2019-09-15 20:05:57 -04:00
Roman Nozdrin
0c58f10d12 MCOL-2178 CS now sets optimizer flags like it did in the fork-era.
This happens in external_lock() whilst locking the table.

Fixes LIMIT=1 optimization for EXISTS_SUBS subqueries.

external_lock() contains if condition that gives false positive
for SH + pushed conditions.

external_lock() now resets in_subquery_conversion_threshold
variable that governs IN_INTO_SUBQUERY optimization for
queries run in table mode.

external_lock() now purges dynamicall allocated condInfo for
SH and DH execution path.

Commented out UNION check b/c if condition gives false positives
and silently enables table mode execution for queries w/o
UNION.
2019-09-15 07:12:50 -05:00
Andrew Hutchings
622e5fac53 Merge pull request #862 from mariadb-corporation/MCOL-3492
Mcol 3492
2019-09-12 21:53:07 +01:00
Andrew Hutchings
ccfd73aab0 Merge pull request #860 from mariadb-corporation/MCOL-3435
Mcol 3435
2019-09-12 20:28:12 +01:00
David Hall
a18ab52997 MCOL-3492 Format cleanup 2019-09-12 10:41:37 -05:00
David Hall
b365a261a1 Merge branch 'MCOL-3435' into MCOL-3492 2019-09-12 09:58:30 -05:00
David Hall
f238a09ee0 MCOL-3435 Don't put nested aggregate into implied group by. Use the csep group by instead of groupByColumnVec. 2019-09-12 09:50:39 -05:00
David Hall
eae773d122 MCOL-3492 Don't do DISTINCT as aggregate in the presence of Window Functions 2019-09-11 12:28:07 -05:00
Roman Nozdrin
0852e316f8 Merge pull request #859 from tntnatbry/string-right-trim2
Follow up to PR 858
2019-09-11 09:25:26 +03:00
Gagan Goel
98e90ed9a8 Follow up to commit 8513bc0646
Only trim whitespaces, not tabs
2019-09-10 13:27:05 -04:00
Roman Nozdrin
defd075942 Merge pull request #858 from tntnatbry/string-right-trim
Right trim whitespaces for a string ConstantColumn in a where clause
2019-09-10 15:51:47 +03:00
Gagan Goel
8513bc0646 Right trim whitespaces for a string ConstantColumn in a where clause 2019-09-09 23:33:46 -04:00
benthompson15
24e1c3ff2d Merge pull request #855 from mariadb-corporation/move-etc
Move config files
2019-09-09 15:54:30 -05:00
Patrick LeBlanc
b727e37b98 Merge pull request #857 from pleblanc1976/develop
MCOL-3488.  Writeengine getting IDB-FS an odd way
2019-09-09 15:17:09 -05:00
Patrick LeBlanc
b0e934dd2d MCOL-3488. Found another one. 2019-09-09 13:58:12 -05:00
Patrick LeBlanc
9c7e2e923e MCOL-3488. Found places with similar code. 2019-09-09 13:58:12 -05:00
Patrick LeBlanc
d47980ceab MCOL-3488. Chunk shifting failed with SM enabled.
The ChunkManager class was getting an IDBFileSystem instance in
a different way than seemingly everything else.  Added code
to allow it to get an SMFileSystem if cloud storage is specified.
2019-09-09 09:54:38 -05:00
Andrew Hutchings
97bda78c3b Move config files
This patch:

* Moves config files from /usr/local/mariadb/columnstore/etc to
ENGINE_SYSCONFDIR/columnstore (ENGINE_SYSCONFDIR is /etc by default)
* Sets a define called MCSSYSCONFDIR whic contains the
ENGINE_SYSCONFDIR compile time setting
* Modifies scripts and code to use the new paths
* Removes a whole bunch of files we don't use
2019-09-09 14:13:56 +01:00
Roman Nozdrin
f3ae87a1ca Merge pull request #856 from tntnatbry/fix-round-datetime
Add support for DateTime data type in ROUND()
2019-09-07 03:15:03 -07:00
Gagan Goel
c766620d22 Add support for DateTime data type in ROUND() 2019-09-06 21:49:47 -04:00
benthompson15
b658080f06 Merge pull request #854 from mariadb-corporation/remove-vpj
Remove vpj files
2019-09-06 10:01:52 -05:00
benthompson15
016523ef47 Merge pull request #851 from mariadb-corporation/fix-packaging
Fix my.cnf clash
2019-09-05 18:27:45 -05:00
Andrew Hutchings
7da5b21fe2 Add required variable back 2019-09-05 19:03:32 +01:00
Andrew Hutchings
426cb3e1d0 Update gitignore 2019-09-05 17:47:22 +01:00
Andrew Hutchings
3fef0f21d3 Remove vpj files
They shouldn't be here
2019-09-05 17:38:03 +01:00
Roman Nozdrin
64ceb8686f Merge pull request #852 from tntnatbry/fix-exists-limit-subselectitem-orderby
Enable Item::SUBSELECT_ITEM in the order by clause and Do not set the limit to 1 for "exists" in a subquery.
2019-09-05 04:12:59 -07:00