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

1169 Commits

Author SHA1 Message Date
David Hall
4870e5abdc MCOL-979 getNullValueByType() should return string for all char types 2017-10-26 10:56:41 -05:00
David Hall
5ab75385b0 MCOL-979 getNullValueByType() should return string for all char types 2017-10-26 10:54:50 -05:00
David Hall
c132f1b9ed MCOL-973 remove reference to TEXT in the 1.0 code 2017-10-24 17:39:01 -05:00
Andrew Hutchings
3b4da1999d MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:42:40 +03:00
Andrew Hutchings
5911e677fa MCOL-973 Fix DOUBLE typecast crash
DOUBLE typecast was not supported and the failure detection caused a
crash.

This patch adds support for DOUBLE typecast and fixes the crash caused
when a non-supported function is detected as part of an arithmatic.
2017-10-20 12:38:11 +03:00
David Hall
c10130d1b8 MCOL-898 In func_if, handle isNull better 2017-10-06 13:37:57 -05:00
David Hall
07d68aa8b1 MCOL-898 In func_if, handle isNull better 2017-10-06 13:36:28 -05:00
David Hall
baa9daef26 MCOL-952 reset UDAF_IGNORE_NULLS for ssq 2017-10-04 11:33:31 -05:00
David Hall
9b6accbdea MCOL-926 Handle NULLs better for UDAF 2017-10-04 11:15:39 -05:00
David Hall
9e841bdc6c MCOL-926 Handle duplicate function detection for UDAF 2017-10-02 15:08:32 -05:00
David Hall
fab8948604 MCOL-523 Documentation update 2017-09-07 17:22:31 -05:00
David Hall
57911fcef3 Remove un-implemented methods getRowCnt and getRowsInPartition 2017-09-07 16:18:44 -05:00
David Hall
ce51b9c5e2 MCOL-523 documentation part 3 2017-09-07 16:18:44 -05:00
David Hall
bb21c79e87 MCOL-523 documentation part 2 2017-09-07 16:18:44 -05:00
David Hall
bc9bdec1f4 MCOL-523 Add pdf file 2017-09-07 16:18:44 -05:00
David Hall
be4a413091 MCOL-523 UDAF documentation 2017-09-07 16:18:44 -05:00
David Hall
a0b30f904c MCOL-523 Remove un-implemented functions finish(), getRowCnt(), and getRowsInPartition(). 2017-09-07 16:02:36 -05:00
Andrew Hutchings
401e257df3 MCOL-879 Fix QueryStats linking issues
With 1.1 we have removed libdrizzle and used MariaDB's client library
instead for both CrossEngine and QueryStats. Unfortunately MariaDB 10.2
has two client libraries which have different structs with the same
name. When QueryStats was running inside the ColumnStore plugin this
symbol conflict was causing a crash.

The server's built-in client API has several different and several
missing functions so some additions to sm.cpp were made to fill the
gaps.

This patch does the following:

* Make sure that libmariadb is only linked to executables, not the
ColumnStore Plugin (to avoid symbol conflicts). Note that all
executables that link to CrossEngine and/or QueryStats need to link to
libmariadb to avoid missing symbol issues.
* Use the server's built-in client API for QueryStats when run in the
plugin
* Replace missing server built-in client API calls in sm.cpp (this is
for QueryStats and CrossEngine to keep the dynamic linker happy)
* Fixes issue where using 'localhost' as the MariaDB Server hostname
would fail in QueryStats.
2017-08-18 10:16:52 +01:00
David Thompson
2ba53f0bef Merge pull request #242 from mariadb-corporation/MCOL-400
MCOL-400 remove the delayed keyword
2017-08-15 12:51:17 -07:00
david hill
4fe3678043 Merge branch 'develop' of https://github.com/mariadb-corporation/mariadb-columnstore-engine into develop 2017-08-15 14:13:56 -05:00
david hill
7e67ceeba9 add libioa1 to debian 9 packages 2017-08-15 14:13:48 -05:00
david hill
03c66e983f add libioa1 to debian 9 packages 2017-08-15 14:13:26 -05:00
David Hall
9a20709031 MCOL-400 remove the delayed keyword 2017-08-15 14:09:15 -05:00
David Hall
83c850266b MCOL-400 remove the delayed keyword 2017-08-15 14:06:04 -05:00
David.Hall
caf12cfe27 Merge pull request #241 from mariadb-corporation/MCOL-874
MCOL-874 StringStore Mk.3
2017-08-14 16:56:40 -05:00
david hill
7be37a5a64 MCOL-792 debian 9 support 2017-08-14 16:09:39 -05:00
david hill
ddc0a17924 MCOL-792 debian 9 support 2017-08-14 15:53:09 -05:00
Andrew Hutchings
3f040173d2 MCOL-874 StringStore Mk.3
StringStore as a vector of std::string had a performance regressions and
a rare crash.

This new version of StringStore restores the original StringStore with
the 64KB limitation and adds another vector to store strings that won't
fit into the small string storage.
2017-08-14 21:47:04 +01:00
David Hall
7293ec522c MCOL-523 Add avg_mode function 2017-08-11 12:46:45 -05:00
David Hall
4eafaa8682 MCOL-869 UDAF with other aggregate gives wrong answer 2017-08-11 12:46:19 -05:00
Andrew Hutchings
16ecfb9d6c MCOL-858 Preserve NULs in StringStore deserialize
The fix for MCOL-838 broke VARBINARY as it truncated on the first NUL on
StringStore deserialize. This fix uses append() to force a copy instead
whilst preserving length.

This fixes test012
2017-08-07 19:56:52 +01:00
Andrew Hutchings
3330495a2e MCOL-777 Cleanup source
Clean out autotools and some other things from the source tree.
2017-08-07 15:59:56 +01:00
David Hall
a27d29c909 MCOL-523 std::string can't be SMALL_POLICY in static_any 2017-08-04 12:32:30 -05:00
David Hall
e49edf19c8 MCOL-523 set copyright notices 2017-08-03 11:36:19 -05:00
David Hall
b401a9293c MCOL-523 Add back in initial reset for UDAF calls without GROUP BY 2017-08-02 14:57:07 -05:00
David Hall
9c302b15ec MCOL-523 fix a comment 2017-08-02 12:14:13 -05:00
David Hall
f428cdc371 MCOL-523 fix a merge issue, MEDIAN test for empty set. 2017-08-02 12:12:00 -05:00
David Hall
108fbcf572 MCOL-523 Add UDAF and UDAnF SDK 2017-08-02 11:30:57 -05:00
David Hall
bc2a4e7795 MCOL-523 Add UDAF and UDAnF SDK 2017-08-02 11:22:07 -05:00
Andrew Hutchings
cc1cbaa160 MCOL-838 Enforce copy of string in StringStore
Since we aren't using C++11 the deserialize was doing using reference
counts for string copy which occasionally caused a use after free.
2017-07-31 06:38:21 +01:00
David Thompson
1c032cbec6 MCOL-825 : update udf to columnstore naming 2017-07-20 20:07:21 -07:00
David Thompson
a5132982ae MCOL-821 : update udf examples and doc to be more columnstore appropriate 2017-07-20 18:09:17 -07:00
david hill
3601c344ba add check for 3306 port inuse 2017-07-04 03:51:27 -05:00
david hill
149c944bf0 remove david clustertest dir 2017-06-12 15:51:56 -05:00
david hill
57c2b16c16 MCOL-702 / MCOL-368 - changed from builder to whoami 2017-06-09 09:28:02 -05:00
David Hill
7a3f75ab6a MCOL-729 - add check for mariadb-libs and removed perl-DBD-MySQL 2017-06-01 09:34:15 -05:00
david hill
2cc5fc7195 MCOL-379 - changed to make the check for mem available for dynamic 2017-05-30 15:12:50 -05:00
david hill
22191d9088 MCOL-379 - changed to make the check for mem available for dynamic 2017-05-30 14:33:21 -05:00
David Hill
9c7434ba52 MCOL-379 - fix false critical mem alarm 2017-05-26 16:28:34 -05:00
david hill
ccbdb07007 MCOL-379 - fix false critical memory usage alarm 2017-05-26 10:52:17 -05:00