Commit Graph

15381 Commits

Author SHA1 Message Date
alexey-milovidov
3455da0a97
Merge pull request #3947 from yandex/fix-config-reloader
Retry loading ZK substitutions after ZK errors
2018-12-28 00:22:48 +03:00
alexey-milovidov
cbc9e03038
Merge pull request #3945 from yandex/fix_ipv4_masks
Fix ipv4 mask restrictions for users and add integration tests
2018-12-28 00:22:02 +03:00
Alexey Milovidov
928649004c Fixed UB #3920 2018-12-28 00:15:47 +03:00
Alexey Milovidov
237a9247cb Fixed UB #3920 2018-12-28 00:14:32 +03:00
Alexey Milovidov
4e2c1132d9 Fixed UB #3920 2018-12-27 23:48:21 +03:00
Alexey Milovidov
dae73f4d32 Fixed tests that was depend on timezone #3948 2018-12-27 23:44:07 +03:00
Alexey Milovidov
b109ec8c77 Fixed UB #3920 2018-12-27 23:24:37 +03:00
Alexey Milovidov
220e568894 Fixed UB #3920 2018-12-27 23:10:37 +03:00
Alexey Milovidov
29ffa46838 Less indirection #3920 2018-12-27 23:02:51 +03:00
Alexey Milovidov
88bdbc4dc7 Some additions to Amos Bird's optimization #3920 2018-12-27 22:58:30 +03:00
alexey-milovidov
0c6e6649b5
Merge pull request #3940 from 4ertus2/minor
Automatically  disable logs in negative tests CLICKHOUSE-4228
2018-12-27 22:53:28 +03:00
alesapin
c3c053e7b6 Add cap SYS_PTRACE for LeakSanitizer 2018-12-27 22:42:25 +03:00
Alexey Milovidov
01db559a70 Fixed test in non-local timezone [#CLICKHOUSE-2] 2018-12-27 22:39:14 +03:00
Alexey Milovidov
0d4e166db9 Fixed error: read one byte after buffer (this byte was unused) [#CLICKHOUSE-2] 2018-12-27 22:33:27 +03:00
proller
a75d8794ef Merge remote-tracking branch 'upstream/master' into fix10 2018-12-27 21:21:20 +03:00
Alexey Zatelepin
da00c6e918 retry loading ZK substitutions after ZK errors #2947 2018-12-27 21:12:38 +03:00
alexey-milovidov
1098fd834a
Merge pull request #3926 from yandex/ubsan-fixes-3
Ubsan fixes 3
2018-12-27 21:12:38 +03:00
chertus
be02d3fe33 Merge branch 'master' into joins 2018-12-27 19:20:20 +03:00
chertus
e8245f5935 basic support for multiple_joins_emulation CLICKHOUSE-3996 2018-12-27 19:12:42 +03:00
alesapin
3d0c26f573 Fix ipv4 mask restrictions for users and add integration tests 2018-12-27 18:55:51 +03:00
Alexey Milovidov
b94bfa5785 Fixed test #3926 2018-12-27 18:39:41 +03:00
alexey-milovidov
644e9fc31f
Merge pull request #3930 from 4ertus2/ast
rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996
2018-12-27 18:36:22 +03:00
proller
1a0a879a51 Build fixes 2018-12-27 18:23:37 +03:00
proller
aab8e5f4b2 2443 Do not write preprocessed configs to /etc/ - Microfixes 2018-12-27 17:49:43 +03:00
chertus
d791da03c7 fix test hint parsing 2018-12-27 17:48:47 +03:00
proller
d9bc934b7d 3908 Fix build client only 2018-12-27 17:32:23 +03:00
chertus
22bb17250f autodisable logs in negative tests CLICKHOUSE-4228 2018-12-27 16:09:11 +03:00
chertus
600755745b Merge branch 'ast' into joins 2018-12-27 14:17:24 +03:00
alesapin
3ed1e542b8 Merge branch 'custom_compression_codecs' of github.com:yandex/ClickHouse into custom_compression_codecs 2018-12-27 11:23:50 +03:00
alesapin
3afa03d044 Merge branch 'master' into custom_compression_codecs 2018-12-27 11:23:00 +03:00
Alexey Milovidov
160ffe8c7f Fixed UB #3926 2018-12-27 05:00:31 +03:00
Alexey Milovidov
353c226893 Fixed UB #3926 2018-12-27 04:56:16 +03:00
Alexey Milovidov
76dafd4d95 Fixed UB #3926 2018-12-27 04:51:22 +03:00
Alexey Milovidov
882531b9c0 Fixed UB #3926 2018-12-27 04:40:00 +03:00
Alexey Milovidov
da5b62ab67 Fixed UB #3926 2018-12-27 04:20:06 +03:00
Alexey Milovidov
589d07860f Fixed UB #3926 2018-12-27 04:12:18 +03:00
Alexey Milovidov
d2b7a847c7 Allow tests to execute in random order #3926 2018-12-27 04:09:27 +03:00
Alexey Milovidov
4c35a73a74 Fixed UB #3926 2018-12-27 04:03:16 +03:00
Alexey Milovidov
e8328c576b Fixed UB #3926 2018-12-27 03:59:52 +03:00
Alexey Milovidov
1c0659ac2f Fixed test #3926 2018-12-27 03:55:05 +03:00
Alexey Milovidov
fec30acf81 Allowed some UB #3926 2018-12-27 03:51:14 +03:00
Alexey Milovidov
673fa80a9c Allowed some UB #3926 2018-12-27 03:40:10 +03:00
Alexey Milovidov
c20f05875a Moved code; added comment #3926 2018-12-27 03:34:49 +03:00
Alexey Milovidov
3c84e47419 Fixed UB #3926 2018-12-27 03:33:54 +03:00
Alexey Milovidov
713a44c38e Fixed UB #3926 2018-12-27 03:33:32 +03:00
Alexey Milovidov
39492139f0 Allowed some UB #3926 2018-12-27 03:25:47 +03:00
Alexey Milovidov
d6c7825328 Addition to prev. revision #3926 2018-12-27 03:11:42 +03:00
Alexey Milovidov
e308d2e069 Addition to prev. revision #3926 2018-12-27 03:10:38 +03:00
Alexey Milovidov
2e20bd4b4a Addition to prev. revision #3926 2018-12-27 03:09:39 +03:00
Alexey Milovidov
408f935754 Addition to prev. revision #3926 2018-12-27 03:03:18 +03:00
Alexey Milovidov
2e323192a2 Addition to prev. revision #3926 2018-12-27 03:02:11 +03:00
Alexey Milovidov
732f60c8be Allowed some UB under UBSan #3926 2018-12-27 02:55:09 +03:00
Alexey Milovidov
37a2d51e0c Added attribute #3926 2018-12-27 02:17:04 +03:00
Alexey Milovidov
10362ab7e1 Fixed build #3926 2018-12-27 01:56:54 +03:00
Alexey Milovidov
5570ddada5 Fixed error in internal implementation of quantileTDigest [#CLICKHOUSE-2] 2018-12-27 00:02:39 +03:00
alesapin
9e32de053d
Update Compressor.cpp 2018-12-26 23:53:39 +03:00
alexey-milovidov
5c4ebfa2e1
Update RequiredSourceColumnsVisitor.h 2018-12-26 23:35:06 +03:00
alexey-milovidov
67dbfd8e81
Update ExpressionAnalyzer.cpp 2018-12-26 23:33:29 +03:00
Alexey Milovidov
7509db544c Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3 2018-12-26 22:38:11 +03:00
alexey-milovidov
b7f25f6ffe
Merge pull request #3932 from yandex/fix_no_message_received
Move processing pool to ternary logic
2018-12-26 22:16:01 +03:00
alexey-milovidov
cd00fc8b56
Merge pull request #3934 from yandex/fix-zk-node-cache
Fix ZooKeeperNodeCache becoming unusable after SessionExpired event
2018-12-26 22:15:32 +03:00
chertus
4b63c11cea Merge branch 'master' into ast 2018-12-26 21:56:41 +03:00
chertus
0812f79421 remove unused code 2018-12-26 21:56:21 +03:00
Alexey Zatelepin
601a6af0ec fix ZooKeeperNodeCache becoming unusable after SessionExpired event #2947 #3891
Previously after a SessionExpired event the context->zookeeper field was
reinitialized with the old expired ZooKeeper instance. This led to inability
to get new paths. Better not cache the ZooKeeper instance and get it at the
start of each request.
2018-12-26 20:27:25 +03:00
alesapin
9342700ce1 Move processing pool to ternary logic 2018-12-26 20:03:29 +03:00
alesapin
31f82940e1
Update Compressor.cpp 2018-12-26 19:18:21 +03:00
chertus
371ec0d576 fix gcc build 2018-12-26 18:40:47 +03:00
Alexey Milovidov
c88fd6025a Merge branch 'master' of github.com:yandex/ClickHouse into ubsan-fixes-3 2018-12-26 18:09:54 +03:00
alesapin
89966db3ba Add multiple codecs to compressor 2018-12-26 18:01:26 +03:00
chertus
6ea13516f0 rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996 2018-12-26 17:43:25 +03:00
chertus
11982046d6 Merge branch 'master' into joins 2018-12-26 17:17:18 +03:00
chertus
62905013d7 rewrite ExpressionAnalyzer.collectUsedColumns CLICKHOUSE-3996 2018-12-26 17:08:57 +03:00
alesapin
98b372415d Decrease sleep time 2018-12-26 14:23:15 +03:00
alesapin
444eb21d28 Fix exponential backoff for replication queue 2018-12-26 12:56:52 +03:00
alesapin
8f82d5a687 Merge branch 'master' into custom_compression_codecs 2018-12-26 10:43:33 +03:00
Alexey Milovidov
15a218f951 Fixed UB #3926 2018-12-26 09:03:18 +03:00
Alexey Milovidov
5abb2d02b9 Fixed UB #3926 2018-12-26 08:34:25 +03:00
Alexey Milovidov
ee4c7fe815 Allowed UB in certain cases #3926 2018-12-26 07:59:20 +03:00
Alexey Milovidov
d54d2f7558 Allowed UB in certain cases #3926 2018-12-26 07:56:38 +03:00
Alexey Milovidov
ed50d90812 Allowed UB in certain cases #3926 2018-12-26 07:50:56 +03:00
Alexey Milovidov
4a45db2b9b Fixed UB #3926 2018-12-26 07:40:16 +03:00
Alexey Milovidov
5ca01486dd Fixed UB #3926 2018-12-26 07:32:58 +03:00
Alexey Milovidov
fc39ce8673 Fixed UB #3926 2018-12-26 07:12:14 +03:00
Alexey Milovidov
3d3385139b Fixed error #3926 2018-12-26 07:09:24 +03:00
Alexey Milovidov
c86e861b6d Fixed error #3926 2018-12-26 06:38:57 +03:00
Alexey Milovidov
0ba7c1dd3a Fixed UB #3926 2018-12-26 06:32:18 +03:00
Alexey Milovidov
665fc23f57 Fixed UB #3569 2018-12-26 06:27:26 +03:00
Alexey Milovidov
b5013194ec Fixed UB #3569 2018-12-26 06:21:39 +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
897199c220 Fixed UB #3926 2018-12-26 04:29:48 +03:00
Alexey Milovidov
985aa2c034 Fixed build #3926 2018-12-26 04:12:13 +03:00
Alexey Milovidov
37bbc0ecd5 Fixed UB #3926 2018-12-26 04:08:14 +03:00
Alexey Milovidov
ee953b4653 Fixed UB (requires performance testing) #3569 2018-12-26 03:31:51 +03:00
Alexey Milovidov
b1b1c676c9 Fixed error #3926 2018-12-26 03:30:11 +03:00
Alexey Milovidov
e8dc222b61 Fixed UB #3926 2018-12-26 03:28:13 +03:00
Alexey Milovidov
4104a0610e Added a test #3569 2018-12-26 03:18:11 +03:00
Alexey Milovidov
5d1bc8540e Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:50:12 +03:00
Alexey Milovidov
1191f1575d Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:44:44 +03:00
Alexey Milovidov
c858c144ef Fixed UB #3926 2018-12-26 02:39:40 +03:00
Alexey Milovidov
07bfa2f460 Added instruction for UBSan usage #3926 2018-12-26 02:32:41 +03:00
Alexey Milovidov
cfc1e207ab Fixed UB #3926 2018-12-26 02:27:52 +03:00
Alexey Milovidov
bbbefe2c03 Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:18:07 +03:00
Alexey Milovidov
a204ed264f Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:15:28 +03:00
Alexey Milovidov
436b9b6eac Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:14:39 +03:00
Alexey Milovidov
3be55436bf Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:13:30 +03:00
Alexey Milovidov
4c0b95ac02 Less dependencies [#CLICKHOUSE-2] 2018-12-26 02:11:36 +03:00
Alexey Milovidov
4cb431264a Fixed UB #3926 2018-12-26 02:06:39 +03:00
Alexey Milovidov
06783113a7 Fixed UB [#CLICKHOUSE-2] 2018-12-26 00:18:40 +03:00
Alexey Milovidov
8f306e8b45 Small improvements #3920 2018-12-25 22:31:18 +03:00
alexey-milovidov
de88010ac8
Merge pull request #3920 from amosbird/leftpad
POC zero left padding for PODArray
2018-12-25 21:54:17 +03:00
alexey-milovidov
8120d5495e
Update PODArray.h 2018-12-25 21:52:43 +03:00
alexey-milovidov
d99072ffb0
Update PODArray.h 2018-12-25 21:51:37 +03:00
alexey-milovidov
e1568fd9ad
Update PODArray.h 2018-12-25 21:49:09 +03:00
alexey-milovidov
3490ddb51d
Merge pull request #3921 from yandex/int-monotonicity-cleanups
Rewrite code to calculate integer conversion function monotonicity
2018-12-25 21:45:00 +03:00
Alexey Milovidov
4ee7b80ab4 Fixed error #3870 2018-12-25 21:40:47 +03:00
Alexey Milovidov
fc4f7d2e77 Investigation #3921 2018-12-25 21:06:38 +03:00
alexey-milovidov
3687980ccf
Merge pull request #3918 from filimonov/xxhash
Performance tests for hash functions
2018-12-25 20:55:55 +03:00
Alexey Milovidov
a868180516 Fixed test, try 2 #3914 2018-12-25 20:54:26 +03:00
Alexey Milovidov
877750cd6a Fixed test #3914 2018-12-25 20:54:26 +03:00
Alexey Milovidov
a66ce65b22 Fixed test, try 2 #3914 2018-12-25 20:52:28 +03:00
Alexey Milovidov
3a8f3a05de Fixed test #3914 2018-12-25 20:45:02 +03:00
Alexey Milovidov
6758c76da3 Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2] 2018-12-25 20:32:12 +03:00
Alexey Milovidov
3500d5a72e Removed the only test case that use "mouse_clicks" table [#CLICKHOUSE-2] 2018-12-25 20:30:53 +03:00
Alexey Milovidov
3502859803 Merge branch 'master' of github.com:yandex/ClickHouse into int-monotonicity-cleanups 2018-12-25 17:28:41 +03:00
Alexey Milovidov
7763104090 Merge branch 'master' into int-monotonicity-cleanups 2018-12-25 17:28:32 +03:00
alesapin
8abcdc70f1 More tabs in desc table tests 2018-12-25 15:56:11 +03:00
alesapin
6e8ed0c942 Merge branch 'master' into custom_compression_codecs 2018-12-25 14:34:19 +03:00
alesapin
1228645a79 Fix segfault and add tabs to ton of tests (desc table) 2018-12-25 14:33:54 +03:00
alesapin
c91687f9d7 Small refactoring 2018-12-25 13:35:46 +03:00
alesapin
4309775fc8 Add coments and fix compression for nested types 2018-12-25 13:04:38 +03:00
Alexey Milovidov
41e3bf5518 Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2] 2018-12-24 21:31:43 +03:00
Alexey Milovidov
66a0c1691d Added more formats to "parseDateTimeBestEffort" function [#CLICKHOUSE-2] 2018-12-24 21:28:41 +03:00
alesapin
a82dfef893 Fix in parser 2018-12-24 20:12:14 +03:00
Alexey Milovidov
5e8035f166 Fixed error #3921 2018-12-24 19:13:04 +03:00
alesapin
bbdfc77f21
Update CachedCompressedReadBuffer.h 2018-12-24 19:12:25 +03:00
alesapin
f7e06cf9ac Remove random changes 2018-12-24 19:03:22 +03:00
Alexey Milovidov
f36c9a1747 Fixed test #3921 2018-12-24 18:56:38 +03:00
alesapin
22b9969f05 Merge branch 'master' into custom_compression_codecs 2018-12-24 18:53:31 +03:00
alesapin
f991232fe3 Add custom network compression settings to test 2018-12-24 18:52:12 +03:00
Amos Bird
8736a3908f left pad 2018-12-24 23:51:06 +08:00
alesapin
36fb2d16cd Add test with non default config 2018-12-24 18:50:02 +03:00
alexey-milovidov
14e425ddb4
Merge pull request #3919 from yandex/kafka-segfault-investigation
StorageKafka: minor modifications.
2018-12-24 18:48:54 +03:00
Alexey Milovidov
b624add2e7 Rewrite code to calculate integer conversion function monotonicity; fixed test #3870 2018-12-24 18:46:55 +03:00
alesapin
f2fd1e4da6 Fix style and includes 2018-12-24 17:10:37 +03:00
mf5137
c07b0659fd Performance tests for hash functions2 2018-12-24 15:09:54 +01:00
Alexey Milovidov
ce10674107 Fixed weird error in PR #3870 2018-12-24 16:25:48 +03:00
alesapin
29ad7f9fb1 Remove redundant changes and shift error codes 2018-12-24 16:19:24 +03:00