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

204 Commits

Author SHA1 Message Date
Sergei Golubchik
a7a9ccf889 Serg dev (#2504)
* more build dependencies

* fix for cmake < 3.11

It cannot do ADD_LIBRARY(... ALIAS ...) on IMPORTED targets

* another fix for cmake 3.10.2

It doesn't know about CMAKE_CXX_STANDARD=20,
let's add the correct flag manually

* gcc 8 on aarch64

utils/common/simd_arm.h:241:16: error: need ‘typename’ before ‘simd::TypeToVecWrapperType<T>::WrapperType’ because ‘simd::TypeToVecWrapperType<T>’ is a dependent scope
2022-08-15 13:35:30 +03:00
Sergei Golubchik
dee50318ad Serg dev (#2502)
* build boost during build phase, not during configure

* add dependency for generated header files errorids.h messageids.h

see 7e868bc588

* set explicit dependencies on external_boost for #include's

* clang-14 compatibility fix
2022-08-13 07:18:30 +03:00
Leonid Fedorov
c25ae4f378 Use external boost 1.78 2022-05-02 18:23:37 +00:00
Roman Nozdrin
7453db6b02 MCOL-5001 This patch removes ExeMgr traces 2022-04-04 12:50:42 +00:00
Leonid Fedorov
65252df4f6 C++20 fixes 2022-03-28 12:32:29 +00:00
Roman Nozdrin
b46f4b42b3 MCOL-4809 Vectorized comparison operations unit tests
This commit replaces system googletest with 0.11.1 version compiled from sources
    to enable typed tests feature
2022-02-25 14:32:47 +03:00
Leonid Fedorov
3919c541ac New warnfixes (#2254)
* Fix clang warnings

* Remove vim tab guides

* initialize variables

* 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length

* Fix ISO C++17 does not allow 'register' storage class specifier for outdated bison

* chars are unsigned on ARM, having  if (ival < 0) always false

* chars are unsigned by default on ARM and comparison with -1 if always true
2022-02-17 13:08:58 +03:00
Leonid Fedorov
d0e1b721f3 Turn on Werror 2021-12-14 18:43:08 +03:00
Roman Nozdrin
af36f9940f This patch introduces support for scanning/filtering vectorized execution for numeric-based
data types TEXT, CHAR, VARCHAR, FLOAT and DOUBLE are not yet supported by vectorized path
This patch introduces an example for Google benchmarking suite to measure a perf diff
b/w legacy scan/filtering code and the templated version
2021-12-10 10:30:00 +00:00
Leonid Fedorov
96e4ee1905 C++17 turn on 2021-10-29 14:57:11 +00:00
Roman Nozdrin
67c85dae15 MCOL-4809 The patch replaces legacy scanning/filtering code with a number of templates that
simplifies control flow removing needless expressions
2021-09-06 17:04:52 +00:00
Leonid Fedorov
73e710ed52 Add ctest for google unittests 2021-08-02 19:41:04 +03:00
Denis Khalikov
fa8dc815a7 MCOL-4814 Add a cmake build option to enable LZ4 compression.
This patch adds an option for cmake flags to enable lz4 compression.
2021-07-16 17:57:11 +03:00
benthompson15
91945fe271 Fix warnings for vla, unused variables. 2021-07-14 20:08:46 -05:00
Roman Nozdrin
866dc25729 Merge pull request #1842 from denis0x0D/MCOL-987_LZ
MCOL-987 LZ4 compression support.
2021-07-07 13:13:18 +03:00
David Hall
8332ab8974 MCOL-4738 AVG() returns a wrong result
On AMD64 machines, the fpu is 80 bits. The unused bits must be masked for memcmp to work properly. For other archetectures, we don't want to mask those bits.
2021-07-06 19:50:00 -05:00
Denis Khalikov
cc1c3629c5 MCOL-987 Add LZ4 compression.
* Adds CompressInterfaceLZ4 which uses LZ4 API for compress/uncompress.
* Adds CMake machinery to search LZ4 on running host.
* All methods which use static data and do not modify any internal data - become `static`,
  so we can use them without creation of the specific object. This is possible, because
  the header specification has not been modified. We still use 2 sections in header, first
  one with file meta data, the second one with pointers for compressed chunks.
* Methods `compress`, `uncompress`, `maxCompressedSize`, `getUncompressedSize` - become
  pure virtual, so we can override them for the other compression algos.
* Adds method `getChunkMagicNumber`, so we can verify chunk magic number
  for each compression algo.
* Renames "s/IDBCompressInterface/CompressInterface/g" according to requirement.
2021-07-06 18:04:37 +03:00
benthompson15
c74beb6178 MCOL-4554: use jemalloc provided by repo. 2021-03-18 12:35:16 -05:00
Denis Khalikov
ef8915a884 Fixes for shared_components_tests build, move test to tests directory.
* Use const uint8_t* instead of uint64_t.
* Turn off 'testExtentCrWOPreallocBin' test body since this test
turned off after MCOL-641 when CalpontSystemCatalog::BINARY type was removed.
* Move shared_components_tests to tests directory.
2021-03-03 14:16:08 +03:00
benthompson15
afa88866bb MCOL-4483: Fix and consolidate log files and cpimport logging. 2021-02-12 15:40:16 -06:00
Roman Nozdrin
ceae2118a2 Merge pull request #1760 from benthompson15/MCOL-4535-dev
MCOL-4535: remove readline
2021-02-12 22:42:09 +03:00
benthompson15
846f7fb29b MCOL-4193: Delete unused OAM and applications, ProcMon, ProcMgr, and no longer build all tools for packages 2021-02-08 17:51:09 -06:00
benthompson15
6926ca6d6e MCOL-4535: remove readline 2021-02-05 15:46:04 -06:00
Roman Nozdrin
837c641ee4 MCOL-4467 Enable -O0 for debug builds 2020-12-23 10:50:26 +00:00
Roman Nozdrin
b09f3088ca MCOL-641 Initial version of Math operations for wide decimal. 2020-11-18 13:47:44 +00:00
Roman Nozdrin
2e8e7d52c3 Renamed datatypes/decimal.* into csdecimal to avoid collision with MDB. 2020-11-18 13:47:44 +00:00
Roman Nozdrin
238386bf63 MCOL-641 Replaced IDB_Decima.__v union with int128_t attribute.
Moved all tests into ./test

Introduced ./datatypes directory
2020-11-18 13:47:44 +00:00
Roman Nozdrin
f73de30427 MCOL-641 This commit introduces GTest Suite into CS.
Binary NULL magic now consists of a series of BINARYEMPTYROW-s + BINARYNULL
in the end.

ByteStream now has hexbyte alias.

Added ColumnCommand::getEmptyRowValue to support 16 byte EMPTY values.
2020-11-18 13:47:01 +00:00
Alexey Antipovsky
4aa7d408e1 Remove procmon & procmgr from build 2020-11-17 15:03:10 +03:00
Alexey Antipovsky
07f710e07c Re-enable warnings and -Werror 2020-11-17 15:03:10 +03:00
benthompson15
7a1f374b98 use jemalloc included with columnstore unless system provides it. 2020-09-11 13:09:45 -05:00
benthompson15
83f5ff5723 MCOL-4191: Install jemalloc.so with columnstore 2020-09-11 13:09:31 -05:00
Roman Nozdrin
2a553260f4 Changes needed by community ASAN BB builders 2020-09-04 11:28:05 +00:00
Sergei Golubchik
988ad702b1 abort columnstore cmake config if the plugin is disabled
in particular, don't install anything and don't add any
targets if the main columnstore plugin target doesn't exist
(it happens if the plugin was disabled for any reason)
2020-06-30 17:39:19 +02:00
Patrick LeBlanc
eebd66c145 Merge pull request #1314 from ottok/ok-MCOL-4117
MCOL-4117: Clean away unnecessary USE_CCACHE build flag
2020-06-29 10:24:43 -05:00
Otto Kekäläinen
42bea7e141 MCOL-4117: Clean away unnecessary USE_CCACHE build flag
Systems with ccache will have gcc/g++ automatically wrapped by ccache
and there is no need inject 'ccache' into the build command like this.
No other part of the MariaDB Server nor in general other software have
any USE_CCACHE practice. To all of them ccache works transparently, and
extra code like this is unnecessay and just plain confusing.

This commit does not yet close MCOL-4117, but is a step forward in making
the code base compatible with using ccache in build systems in general.
2020-06-26 22:43:02 +03:00
Jose
5576b18ff6 MCOL-4144 Add python3 as dependency 2020-06-25 19:36:02 +00:00
Sergei Golubchik
4758d90906 move settings related to server packaging into the server repo 2020-06-22 10:06:19 +02:00
Sergei Golubchik
046d355a6e remove dead code
SETA() doesn't do PARENT_SCOPE, so the changes were only done
in the current scope and never affected anything in the final
packages
2020-06-22 10:06:19 +02:00
David Hall
1d5e820e97 Merge branch 'develop' into MCOL-3536
Conflicts:
	CMakeLists.txt
2020-06-04 16:22:59 -05:00
David Hall
39a93ef753 MCOL-3536 Collation 2020-06-02 13:40:15 -05:00
Sergei Golubchik
5a275e6483 don't abort the build if no libcurl 2020-06-02 14:39:04 +02:00
Patrick LeBlanc
2acc03242b Bring in the definition of MESSAGE_ONCE to get the engine to build
standalone.
2020-06-01 17:10:14 -04:00
David Hall
46668d2607 Merge branch 'develop' into MCOL-3536 2020-06-01 15:09:44 -05:00
Patrick LeBlanc
38ea31a707 Merge pull request #1243 from vuvova/cmake-fixes
cmake fixes
2020-06-01 10:16:33 -05:00
Sergei Golubchik
2384328d4c cmake: output cleanup
1. reduce the number of cmake warnings
2. remove unused OLD policies
3. only warn about missing prerequisites once
4. start cmake output from columnstore version
2020-05-31 10:55:30 +02:00
Sergei Golubchik
8fcce90d51 cmake: don't FATAL_ERROR if prerequisites are not found
skip building the plugin instead
2020-05-31 10:21:47 +02:00
Jose
9280b7ece1 MCOL-4025 systemd units now preload libjemalloc 2020-05-28 20:53:56 +00:00
David Hall
8479a87e46 Merge branch 'develop' into MCOL-3536 2020-05-18 16:22:01 -05:00
David Hall
1f3d1e6fd6 MCOL-3536 collation 2020-05-14 16:02:49 -05:00