Commit Graph

440 Commits

Author SHA1 Message Date
alexey-milovidov
0dd618b9ad
Merge pull request #4326 from yandex/duplicate-includes
Removed duplicate includes
2019-02-10 22:31:37 +03:00
Alexey Milovidov
e150e62040 Grouped includes (40 of 182) 2019-02-10 20:40:52 +03:00
Alexey Milovidov
ba3cb83a84 Removed duplicate includes 2019-02-10 20:12:22 +03:00
Alexey Milovidov
4799a343ee Addition to prev. revision #4246 2019-02-10 19:22:38 +03:00
Alexey Milovidov
c603d270f4 Cleanups #4246 2019-02-10 18:17:45 +03:00
Vasily Nemkov
2716df8ab2 IPv4 and IPv6 Domain implementation.
Added:
 * IDataTypeDomain interface;
 * method DataTypeFactory::registerDataTypeDomain for registering domains;
 * DataTypeDomainWithSimpleSerialization domain base class with simple serialization/deserialization;
 * Concrete IPv4 and IPv6 domain implementations: DataTypeDomanIPv6 and DataTypeDomanIPv4;

Updated:
 * IDataType text serialization/deserialization methods;
 * IDataType implementation to use domain for text serialization/deserialization;
 * Refactored implementation of the IPv4/IPv6 functions to use formatIPv4/v6 and parseIPv4/v6 from Common/formatIPv6.h;

Tests:
 * Added test cases for IPv4 and IPv6 domains.
 * Updated IPv4/v6 functions tests to validate more cases;
 * Added performance tests for IPv4 and IPv6 related functions;
2019-02-04 12:37:46 +03:00
Evgenii Pravda
67d26f6528 Use pdqsort instead of std::sort in ORDER BY 2019-02-02 16:52:20 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka (#4152) 2019-01-25 23:02:03 +03:00
maiha
6c83beafdd dbms: Fixed misspells in comments 2019-01-23 04:56:53 +09:00
alexey-milovidov
ca7c3c0bfd
Merge pull request #4012 from yandex/fix-low-cardinality-numeric-distinct
Distinct by single LowCardinality numeric column.
2019-01-09 19:28:42 +03:00
Nikolai Kochetov
5ab362a303 Fix distinct by single LowCardinality numeric column. 2019-01-09 17:47:51 +03:00
Alexey Milovidov
3874dc5ac3 Fixed error in #3920 2019-01-08 17:56:07 +03:00
Alexey Milovidov
0dfa553fca Added more warnings from clang's -Weverything, that are available in clang 8 2019-01-07 13:40:58 +03:00
Alexey Milovidov
cf1cacc366 Added some warnings from clang's -Weverything 2019-01-04 16:54:39 +03:00
Alexey Milovidov
1d4701b0bc Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
alexey-milovidov
b8e847edfd
Merge pull request #3955 from yandex/low-cardinality-fix-clone-empty
Do not copy dictionary in ColumnLowCardinality::cloneEmpty
2018-12-29 01:23:07 +03:00
Nikolai Kochetov
eb457f2bd2 Do not copy dictionary in ColumnLowCardinality::cloneEmpty 2018-12-28 18:22:38 +03:00
Alexey Milovidov
4e2c1132d9 Fixed UB #3920 2018-12-27 23:48:21 +03:00
Alexey Milovidov
e8328c576b Fixed UB #3926 2018-12-27 03:59:52 +03:00
Alexey Milovidov
c20f05875a Moved code; added comment #3926 2018-12-27 03:34:49 +03:00
Alexey Milovidov
5abb2d02b9 Fixed UB #3926 2018-12-26 08:34:25 +03:00
Alexey Milovidov
c86e861b6d Fixed error #3926 2018-12-26 06:38:57 +03:00
Alexey Milovidov
56bd082105 Fixed UB #3926 2018-12-26 06:15:34 +03:00
Alexey Milovidov
b7f085c525 Fixed UB #3926 2018-12-26 05:47:16 +03:00
Alexey Milovidov
a2fae24e07 Fixed UB #3926 2018-12-26 05:09:59 +03:00
Alexey Milovidov
f2d789d384 Fixed UB #3926 2018-12-26 05:06:54 +03:00
Alexey Milovidov
e8dc222b61 Fixed UB #3926 2018-12-26 03:28:13 +03:00
Amos Bird
8736a3908f left pad 2018-12-24 23:51:06 +08:00
Alexey Milovidov
19d57c78b5 Fixed test #3909 2018-12-23 04:46:30 +03:00
Alexey Milovidov
a8f09809f5 Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2] 2018-12-21 19:00:07 +03:00
alexey-milovidov
c1a2cb7abb
Update ColumnVector.h 2018-12-14 20:54:45 +03:00
alexey-milovidov
6d27777b19
Merge branch 'master' into ubsan-fixes-3 2018-12-14 20:52:54 +03:00
Alexey Milovidov
c39a19c126 Merge branch 'master' of github.com:yandex/ClickHouse 2018-12-14 20:50:23 +03:00
Alexey Milovidov
21c3a3d9e2 UBSan fixes #3021 2018-12-14 20:50:10 +03:00
KochetovNicolai
e4fe6a8e63 Updated test. (#3832)
* Updated test.

* Updated test.

* Updated test.

* Updated test.

* Updated test.
2018-12-14 20:32:25 +03:00
Nikolai Kochetov
2cd3bb5ff7 Fix tests. 2018-12-14 14:36:08 +03:00
Nikolai Kochetov
ec59f65a1e Update ReverseIndex. Added tests. 2018-12-13 22:02:28 +03:00
alexey-milovidov
0b4f0ca7d5
Merge pull request #3744 from yandex/low-cardinality-nullable-group-by
LowCardinality optimization for single nullable column.
2018-12-07 23:32:27 +03:00
Nikolai Kochetov
2bb57ce472 Support insertion into LowCardinality from old native clients. 2018-12-06 17:08:42 +03:00
Ivan Lezhankin
6089b26ef0 Fix |RangeHashedDictionary| getter against |ColumnConst| 2018-12-04 16:15:20 +03:00
Nikolai Kochetov
98499b1140 LowCardinality optimization for single nullable column. 2018-12-03 21:00:20 +03:00
Nikolai Kochetov
65e5494326 Fixed size for LowCardinality dictionary permutation. 2018-11-27 21:08:54 +03:00
Alexey Milovidov
c77930fe30 Whitespaces [#CLICKHOUSE-2] 2018-11-26 03:56:50 +03:00
Alexey Milovidov
141e9799e4 Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2] 2018-11-25 03:08:50 +03:00
Alexey Milovidov
7d6fffff48 More style checks [#CLICKHOUSE-3] 2018-11-24 04:48:06 +03:00
Alexey Milovidov
dbbacf4f87 Added more style checks [#CLICKHOUSE-3] 2018-11-23 21:52:00 +03:00
alexey-milovidov
ac29388224
Merge pull request #3632 from yandex/fix-low-cardinality-distributed-group-by
Fix low cardinality distributed group by
2018-11-23 16:45:56 +03:00
Nikolai Kochetov
f3aa1292a9 Remove null map cache from ColumnUnique. 2018-11-23 14:55:06 +03:00
Nikolai Kochetov
d64fe4204a Remove null map cache from ColumnUnique. 2018-11-23 13:47:01 +03:00
Nikolai Kochetov
e74b1edb35 Remove null map cache from ColumnUnique. 2018-11-23 13:18:50 +03:00