Commit Graph

2654 Commits

Author SHA1 Message Date
Alexander Tokmakov
c7468d2502 Merge branch 'master' into split_databases_from_context 2020-03-10 13:15:27 +03:00
Alexey Milovidov
10e5550c02 clang-tidy, part 24 2020-03-09 06:44:48 +03:00
Alexey Milovidov
66582d69a5 clang-tidy, part 22 2020-03-09 06:38:43 +03:00
Alexey Milovidov
c5f2e95e52 clang-tidy, part 20 2020-03-09 05:55:28 +03:00
Alexey Milovidov
79c6bd5ae7 clang-tidy, part 4 2020-03-09 00:40:00 +03:00
Alexey Milovidov
b53ec30978 clang-tidy, part 3 2020-03-09 00:29:00 +03:00
Alexey Milovidov
256acebfca Merge branch 'pr_add_auc' of https://github.com/taiyang-li/ClickHouse into taiyang-li-pr_add_auc 2020-03-08 02:10:34 +03:00
alexey-milovidov
1991464cb6
Remove findClusterIndex, findClusterValue functions (#9543)
* Remove findCluster* functions

* Fixed test

* Fixed test
2020-03-07 22:56:58 +03:00
alexey-milovidov
9a10457cb6
Remove indexHint function (#9542)
* Remove indexHint function

* Fixed build

* Update KeyCondition.cpp

* Update KeyCondition.cpp
2020-03-07 22:56:38 +03:00
Alexander Tokmakov
367b358822 remove Context::getTable() 2020-03-06 23:38:19 +03:00
Alexey Milovidov
5b06842723 Remove excessive empty lines 2020-03-03 05:43:59 +03:00
Alexey Milovidov
7f9449062f Fix style check 2020-03-03 05:33:13 +03:00
alexey-milovidov
5f55dc7385
Merge pull request #9358 from hczhcz/patch-0226
Add moduloOrZero
2020-03-03 03:27:23 +03:00
Alexey Milovidov
06d2c82c22 Optimize bit operations on FixedString when one of the arguments is constant #9091 2020-02-29 22:39:18 +03:00
alexey-milovidov
a9a757dc7c
Merge pull request #9433 from amosbird/cleanbuild
cleaning duplicate linker flags
2020-02-28 23:59:55 +03:00
Amos Bird
615c6bba91
cleaning duplicate linker flags 2020-02-28 18:56:33 +08:00
proller
6b2d6e9392
Build fixes (#9381)
* Revert "Revert "Build fixes""

This reverts commit 355ff00c2e.

* zlib link fix
2020-02-28 03:07:42 +03:00
Alexey Milovidov
425ed714eb Merge branch 'master' of github.com:yandex/ClickHouse into errorcodes-style 2020-02-26 17:16:22 +03:00
Alexey Milovidov
d4b633ff2a Fixed ErrorCodes, part 6 2020-02-26 17:14:25 +03:00
Alexey Milovidov
681454175f Fixed ErrorCodes, part 5 2020-02-25 22:05:15 +03:00
Alexey Milovidov
8f90c6ec12 Fixed ErrorCodes, part 3 2020-02-25 21:20:08 +03:00
Alexey Milovidov
cb6cd2ffbb Added missing ErrorCodes, part 2 2020-02-25 21:10:48 +03:00
Alexey Milovidov
766ae8261a Added some missing ErrorCodes 2020-02-25 21:02:41 +03:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
Alexey Milovidov
c7aba07dfe Minor modifications 2020-02-25 15:19:47 +03:00
Alexey Milovidov
4e935c684a Removed strange code from MergeTreeIndexSet 2020-02-25 15:12:16 +03:00
hcz
88464d18b6 Add function moduloOrZero 2020-02-25 17:46:07 +08:00
hcz
3b8093234c Add DivisionUtils.h 2020-02-25 17:45:23 +08:00
alexey-milovidov
94b52c0858
Merge pull request #9343 from ClickHouse/every_function_in_own_file_11
Every function in own file, part 11
2020-02-25 09:08:07 +03:00
alexey-milovidov
48238a108a
Merge branch 'master' into patch-0225 2020-02-25 09:07:22 +03:00
hcz
ba35ba01cf Fix intDiv of const divider 2020-02-25 12:58:26 +08:00
Alexey Milovidov
0ebc406a62 Merge branch 'every_function_in_own_file_11' of github.com:yandex/ClickHouse into every_function_in_own_file_11 2020-02-25 01:48:13 +03:00
Alexey Milovidov
4ddb38d587 Fixed error 2020-02-25 01:47:56 +03:00
Alexey Milovidov
a12f6795df Merge branch 'master' of github.com:yandex/ClickHouse into every_function_in_own_file_11 2020-02-25 01:35:52 +03:00
alexey-milovidov
f2cbfb0fc2
Merge pull request #9342 from ClickHouse/improve-performance-reinterpret-as-fixed-string
Improve performance of "reinterpretAsFixedString" function
2020-02-25 01:33:55 +03:00
Alexey Milovidov
57579f64d7 Every function in its own file, part 11 2020-02-24 20:51:06 +03:00
Alexey Milovidov
fb8e7d42cc Improve performance of "reinterpretAsFixedString" function 2020-02-24 20:28:04 +03:00
alexey-milovidov
0a75acaeff
Merge pull request #9327 from ClickHouse/restrict-functions-comparison
__restrict in comparison functions
2020-02-24 19:36:30 +03:00
Alexey Milovidov
792f8a29f6 Merge branch 'master' of github.com:yandex/ClickHouse into restrict-functions-comparison 2020-02-24 18:50:08 +03:00
Alexey Milovidov
8e18b9d431 Merge branch 'master' of github.com:yandex/ClickHouse into restrict-functions-arithmetic 2020-02-24 18:49:49 +03:00
Alexey Milovidov
81602fd249 Added __restrict in FunctionsComparison 2020-02-24 03:12:47 +03:00
Alexey Milovidov
e30064dbfa Added suggestion from Amos Bird 2020-02-24 02:48:38 +03:00
Alexey Milovidov
07d272764d __restrict in arithmetic functions 2020-02-24 02:14:27 +03:00
Alexey Milovidov
7ff3dc0337 Remove garbage from FunctionsComparison; better build time and less template instantiations 2020-02-24 01:46:52 +03:00
Alexey Milovidov
2001bcbf6a Whitespaces 2020-02-24 00:53:16 +03:00
Amos Bird
693cf211fa
Build fix 2020-02-22 16:44:23 +08:00
Amos Bird
f5d6043a5d
Strict aliasing in c++20 2020-02-22 13:46:35 +08:00
Alexey Milovidov
ac83a28285
More strict aliasing 2020-02-22 10:17:52 +08:00
Alexey Milovidov
a1ccd14032 Fixed error with zero bytes in haystack for constant case #9160 2020-02-17 21:53:59 +03:00
Alexey Milovidov
09e18f05ce Fixed error, added a test #9143 2020-02-17 09:54:24 +03:00
Alexey Milovidov
35e7197c8f Merge branch 'master' into bit-test-many-fuzz 2020-02-17 08:43:44 +03:00
alexey-milovidov
ca00c9c4cd
Merge pull request #9150 from ClickHouse/fix-bug-demangle
Fix bug in "demangle" function
2020-02-17 07:22:11 +03:00
alexey-milovidov
e0b6019878
Merge pull request #9014 from amosbird/joingetfix2
Fix joinGet with nullable return types.
2020-02-17 06:59:40 +03:00
Amos Bird
0dee987831
Fix joinGet with nullable return types. 2020-02-17 07:32:32 +08:00
Alexey Milovidov
01d4805989 Merge branch 'master' into bit-test-many-fuzz 2020-02-16 15:05:20 +03:00
Alexey Milovidov
9cd79c8a38 Fixed bug in "demangle" #8985 2020-02-16 14:55:45 +03:00
Alexey Milovidov
2e8d42a188 Additions to prev. revision 2020-02-16 13:44:24 +03:00
alexey-milovidov
355ff00c2e
Revert "Build fixes" 2020-02-16 11:48:01 +03:00
Alexey Milovidov
724be6d08f Fixed fuzz test and incorrect behaviour of bitTestAll/Any functions 2020-02-16 09:46:29 +03:00
alexey-milovidov
76f09ec883
Merge pull request #9052 from oandrew/reinterpret-fixedstring-bugfix
Use correct implementation for reinterpretAsFixedString
2020-02-16 06:11:13 +03:00
alexey-milovidov
f836987f31
Merge pull request #9041 from proller/fix27
Build fixes
2020-02-15 02:51:18 +03:00
alexey-milovidov
4d0d32da23
Merge pull request #9091 from PerformanceVision/bit_on_bitset
Implement bit operations for FixedString datatype for doing bits operation on a bitset
2020-02-15 02:43:29 +03:00
proller
cf39e9d64a Merge remote-tracking branch 'upstream/master' into fix27 2020-02-14 21:28:09 +03:00
Guillaume Tassery
59ed5f65b5 Add bitNot function 2020-02-14 09:17:32 +01:00
Guillaume Tassery
ecbeba0f9e Set allow_fixed_string on operation instead of function generation 2020-02-14 08:11:37 +01:00
Guillaume Tassery
bad9848f2a use maybe_unused instead 2020-02-14 04:49:02 +01:00
alexey-milovidov
7aeb900922
Merge pull request #8436 from achulkov2/polygon-dict-basic-interface-improvements
[WIP] Basic interface for polygon dictionaries
2020-02-13 21:05:42 +03:00
Guillaume Tassery
d5b6b580c3 make happy gcc-9 2020-02-13 13:23:31 +01:00
Guillaume Tassery
4ea8cfb1e1 cosmetic 2020-02-12 12:45:31 +01:00
proller
4c3b8649e3 Merge remote-tracking branch 'upstream/master' into fix27 2020-02-12 13:59:14 +03:00
Guillaume Tassery
b9954f6785 Merge branch 'master' of github.com:ClickHouse/ClickHouse into bit_on_bitset 2020-02-12 11:35:07 +01:00
Guillaume Tassery
e5b048ab51 Can use bit(And|Or|Xor) using a bitset set as a FixedString 2020-02-12 11:33:43 +01:00
Artem Zuikov
bd6d9a427b
Some InterpreterSelectQuery refactoring (#9035)
move ExpressionActionsChain logic out of InterpreterSelectQuery
2020-02-10 18:50:12 +03:00
liyang
f0f0768e81 fix bugs 2020-02-09 10:45:58 +08:00
Andrew Onyshchuk
9d35b8b6ea Use correct implementation for reinterpretAsFixedString 2020-02-08 19:23:09 -06:00
liyang
71d46bb521 modify to suggestions 2020-02-08 14:31:03 +08:00
proller
d69785915e Merge remote-tracking branch 'upstream/master' into fix27 2020-02-06 17:19:30 +03:00
Alexander Kuzmenkov
64bcb78812 use proper length 2020-02-05 13:24:24 +03:00
Alexander Kuzmenkov
7b898ec871 style 2020-02-04 16:31:15 +03:00
Alexander Kuzmenkov
cbcb7895e4 Avoid extra copying when demangling names. 2020-02-03 22:51:26 +03:00
proller
bce3ec2a29 Revert "Revert "Build fixes""
This reverts commit 9e0b40bf09.
2020-02-03 19:46:17 +03:00
alexey-milovidov
e24926d16e
Merge pull request #8952 from azat/getSerializedSize
Add blockSerializedSize() function (size on disk without compression)
2020-02-03 15:46:26 +03:00
Azat Khuzhin
e89ceae61a Add blockSerializedSize() function (size on disk without compression)
Sometimes it is useful to know how much does this data will take on
disk, with blockSerializedSize() you can know this (although without
compression).

This can be a major knowledge for various aggregation functions that
tracking some state (i.e. uniqCombined).
2020-02-03 11:26:40 +03:00
alexey-milovidov
9e0b40bf09
Revert "Build fixes" 2020-02-02 23:21:49 +03:00
Alexey Milovidov
fc17853c5a Added missing range check to function h3HexAreaM2 #8938 2020-02-02 23:13:06 +03:00
alexey-milovidov
d213f5beae
Update h3EdgeLengthM.cpp 2020-02-02 19:22:59 +03:00
proller
96cfd0b6c2 Merge remote-tracking branch 'upstream/master' into fix27 2020-02-02 14:55:15 +03:00
alexey-milovidov
185d11ad72
Merge pull request #8938 from nmandery/h3-hierarchy-master
implement more functions of the H3 library
2020-02-02 03:41:01 +03:00
alexey-milovidov
eeacc97d2f
Merge pull request #8852 from vitlibar/RBAC-4
RBAC-4
2020-02-02 03:35:31 +03:00
Alexey Milovidov
b6761d31f3 Added range check to function h3EdgeLengthM 2020-01-31 23:16:46 +03:00
Nico Mandery
23c9902433 h3 hierarchical functions and string conversion 2020-01-31 18:49:17 +01:00
Vitaly Baranov
10c912dab2 Rewrite the User class to be controlled by AccessControlManager. 2020-01-31 20:27:32 +03:00
Vitaly Baranov
2aa58193c8 Check access rights via new interface. 2020-01-31 20:27:28 +03:00
Andrei Chulkov
d2e4f4e778 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into polygon-dict-basic-interface-improvements 2020-01-28 15:06:36 +03:00
alexey-milovidov
581b20748e
Trigger CI 2020-01-26 21:55:12 +03:00
proller
f4c23c2f4f Merge remote-tracking branch 'upstream/master' into fix27 2020-01-22 22:30:47 +03:00
alexey-milovidov
5e7f80c664
Merge pull request #8760 from kreuzerkrieg/GCCSuggestOverride
Add GCC warning to suggest virtual function override
2020-01-21 22:12:26 +03:00
kreuzerkrieg
a256741cf9 Add GCC warning to suggest virtual function override 2020-01-21 13:10:32 +02:00
liyang
3d9f49c0ba commitagin 2020-01-21 17:03:35 +08:00
liyang
b9076ef247 mv file 2020-01-21 16:59:09 +08:00