1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-21 13:40:58 +03:00
Commit Graph

5453 Commits

Author SHA1 Message Date
Gagan Goel
6aea9e68a5 Set constant value of type DECIMAL_RESULT/REAL_RESULT in an update statement. 2019-09-27 15:09:30 -04:00
David Hall
cbef44a0be MCOL-3503 add MODA aggregate function 2019-09-27 12:22:44 -05:00
Andrew Hutchings
1f475340dc Merge pull request #876 from tntnatbry/revert-pr-859
Revert commit 98e90ed as the proper fix is applied as part of MCOL-1559.
2019-09-26 08:48:22 +01:00
Andrew Hutchings
3710d6e331 Merge pull request #875 from tntnatbry/fix-gbh-aggregate
Build an aggregate column from the extended select list in the group by handler.
2019-09-26 08:47:56 +01:00
Andrew Hutchings
b0e0d7b8b1 Merge pull request #867 from tntnatbry/fix-double-negative-zero
Preserve the sign when a double is -0 in fetchNextRow()
2019-09-26 08:47:32 +01:00
benthompson15
0a175f0052 Merge pull request #871 from mariadb-corporation/cpimport-s3
MCOL-3514 Add support for S3 to cpimport
2019-09-25 12:13:47 -05:00
benthompson15
2fff4cf065 Merge pull request #872 from mariadb-corporation/kill-distributed
MCOL-3515 Remove distributed install
2019-09-25 12:07:44 -05:00
Andrew Hutchings
beedde52d1 Merge pull request #874 from pleblanc1976/partial-msg-tests
Partial msg tests
2019-09-25 17:53:14 +01:00
Andrew Hutchings
64f3fc950b Merge pull request #869 from mariadb-corporation/MCOL-3436
MCOL-3436: Modify signal handling to not shutdown on non term or core signals.
2019-09-25 17:45:05 +01:00
Gagan Goel
07e3262906 Revert commit 98e90ed as the proper fix is applied as part of MCOL-1559. 2019-09-25 11:52:28 -04:00
Gagan Goel
32108e69e8 Merge pull request #870 from drrtuy/fix-literals
MCOL-2178 CS now can have string literals and functions with literals
2019-09-25 11:26:09 -04:00
Gagan Goel
dac290b755 Build an aggregate column from the extended select list in
the group by handler.
2019-09-25 10:42:39 -04:00
Andrew Hutchings
8291948ba0 Fix git submodule working dir 2019-09-25 14:01:55 +01:00
Andrew Hutchings
59d1caae02 Fix CMake dependencies
Some odd quirks with CMake mean that marias3 has to be in the top level
CMake. Also made submodule checkout happen at cmake time.
2019-09-25 11:30:32 +01:00
Andrew Hutchings
7fb1a7bd34 Fix early EOF for file reading
Bad 'if' statement caused an EOF to trigger on the first buffer fill for
regular file reading.
2019-09-24 18:08:28 +01:00
benthompson15
70f4ffe8c2 MCOL-3436: have sighandler function call crashtrace handler. 2019-09-24 11:16:02 -05:00
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