Commit Graph

26 Commits

Author SHA1 Message Date
Amos Bird
693cf211fa
Build fix 2020-02-22 16:44:23 +08:00
Vasily Nemkov
9b64a963c4 Fixed buffer overflow on decoding small sequences with Gorilla and DoubleDelta
* When decoding 0 items with Gorilla
* When decoding 1 or 0 items with DoubleDelta
2020-02-06 16:37:21 +08:00
Alexander Burmak
57517b4ede Replaced deprecated INSTANTIATE_TEST_CASE_P with INSTANTIATE_TEST_SUITE_P 2020-01-10 11:48:24 +03:00
Alexander Burmak
0135835855 Additional release build fix 2020-01-10 10:03:34 +03:00
Alexander Burmak
d23f967148 Fixed release build - v2 2020-01-09 17:18:00 +03:00
Alexander Burmak
6d3828b8f2 Revert "Fixed release build"
This reverts commit 84bc2bd104.
2020-01-09 17:08:31 +03:00
Alexander Burmak
84bc2bd104 Fixed release build 2020-01-09 15:21:49 +03:00
Alexander Burmak
4a9e2399a7 Updated contrib/googletest to v1.10.0 2020-01-09 13:03:24 +03:00
Vasily Nemkov
08059ac640 Detailed docs with examples on DoubleDelta and Gorilla codecs 2020-01-05 12:33:13 +03:00
Vasily Nemkov
5b1a3b24e5 Disabled codec performance tests
Since those significantly delay unit test execution by generating huge
amount of data used only for performance tests.
Also it makes little sense running those on CI.
2019-12-05 17:21:26 +03:00
Vasily Nemkov
ae5a4f15d0 Fixed style and compilation error on GCC9 2019-12-05 16:49:56 +03:00
Vasily Nemkov
48abeb6b7c DoubleDelta and Gorilla compatibility and performance test
To ensure that any future modifications are backward-compatitable with
data stored by clients
2019-11-29 16:27:25 +03:00
Amos Bird
ad12099642
ubsan fix 2019-11-02 17:00:03 +08:00
proller
d09c5c871b Build fixes (#6491)
* Fix build

* cmake: fix cpuinfo

* Fix includes after processors merge

Conflicts:
	dbms/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ParquetBlockOutputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp
	dbms/src/Processors/Formats/Impl/ProtobufRowOutputFormat.cpp

* Fix build in gcc8

* fix test link

* fix test link

* Fix test link

* link fix

* Fix includes after processors merge 2

Conflicts:
	dbms/src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp

* Fix includes after processors merge 3

* link fix

* Fix likely/unlikely conflict with cython

* Fix conflict with protobuf/stubs/atomicops.h

* remove unlikely.h

* Fix macos build (do not use timer_t)
2019-08-18 01:53:46 +03:00
Alexey Milovidov
c96fa2c080 Fixed build 2019-08-13 01:53:19 +03:00
Alexey Milovidov
6ebd002926 Fixed build 2019-08-13 01:19:20 +03:00
Vasily Nemkov
95a38b9e19 Fixed builds on GCC-9 and Clang-8 2019-08-12 22:43:03 +03:00
Vasily Nemkov
923c6889e8 Fixed Gorilla encoding error on small sequences.
Added test cases for small sequences;
Refurbished test cases for codecs;
2019-08-12 07:59:20 +03:00
kreuzerkrieg
112fc71276 adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
alexey-milovidov
5215d13437
Merge pull request #5998 from Enmk/double_delta_fix_2
Fixed DoubleDelta encoding cases for random Int32 and Int64.
2019-07-16 00:54:22 +03:00
Vasily Nemkov
0f4075478e Fixed DoubleDelta encoding cases for random Int32 and Int64. 2019-07-15 08:17:14 +03:00
Alexey Milovidov
ac20c515ab Better code in unit tests 2019-07-08 04:58:31 +03:00
Vasily Nemkov
138087d2e1 Performance tests for Gorilla and DoubleDelta
Testing INSERTs and SELECTs on codec combinations:
 * DoubleDelta (or Gorilla)
 * LZ4
 * DD (or G) + LZ4
On 3 types of data:
 * sequential
 * monotonic
 * random.
2019-06-25 13:47:55 +03:00
Vasily Nemkov
e79c3d0e22 Post-PR fixes stage 3
maskLowBits()
building for clang
more test cases for codecs.
2019-06-19 13:38:15 +03:00
Vasily Nemkov
81f9055d81 Post-PR fixes #2
Fixed style issues and build for clang-7;
64-bit buffer for BitReader and BitWriter;
Fixed overflow and writing more bytes on flushing;
Added maskLowBits() and tests for it.
2019-06-17 21:49:01 +03:00
Vasily Nemkov
0ebb145d32 Post-PR fixes:
* BitHelpers.cpp was removed, corresponding code was moved to the header
* BitIO test as GTest-based test binary
* gtest-based unit test for DoubleDelta and Gorilla codecs
* getLeadingZeroBits from SFINAE to consexpr if
* removed couple of unneeded if's
* Fixed sql-test to use one table
2019-06-17 21:39:45 +03:00