Alexey Milovidov
a70d0b79e4
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:13:02 +03:00
Alexey Milovidov
0fd919fdc5
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 04:11:58 +03:00
Alexey Milovidov
0ae34550db
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:52:58 +03:00
Alexey Milovidov
fa6e364f68
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:51:37 +03:00
Alexey Milovidov
6605098439
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:50:48 +03:00
Alexey Milovidov
52eb8fda3c
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:48:38 +03:00
Alexey Milovidov
6779de62d1
Enabling -Wextra-semi [#CLICKHOUSE-2]
2018-08-26 03:44:23 +03:00
Alexey Milovidov
3d0f62fb31
Enable some warnings from -Weverything [#CLICKHOUSE-2]
2018-08-26 03:39:11 +03:00
alexey-milovidov
3be0b6ca6d
Merge pull request #2950 from yandex/generalize-zookeeper
...
Generalize zookeeper library
2018-08-26 03:33:11 +03:00
Alexey Milovidov
c193d15ef2
Merge branch 'master' into generalize-zookeeper
2018-08-26 03:32:15 +03:00
alexey-milovidov
f92bae33f8
Merge pull request #2949 from yandex/distinguish-between-definitely-lost-and-unknown-requests-in-zookeeper
...
ZooKeeperImpl: allow to distinguish cases when request was definitely not been processed.
2018-08-26 03:12:20 +03:00
Alexey Milovidov
74b0d9b6a7
Little better; added comment #2954
2018-08-26 02:59:53 +03:00
Alexey Milovidov
2ce783e016
Merge branch 'read' of https://github.com/amosbird/ClickHouse into amosbird-read
2018-08-26 02:55:22 +03:00
alexey-milovidov
35806a4d27
Merge pull request #2955 from amosbird/varint
...
Fast path for varint read.
2018-08-26 02:47:04 +03:00
alexey-milovidov
00404a911c
Update VarInt.h
2018-08-26 02:46:18 +03:00
Amos Bird
a589230249
Faster path for varint read.
...
clickhouse-benchmark <<< 'select count() from s where not ignore(s);'
before this patch:
```
QPS: 0.732, RPS: 2346562049.608, MiB/s: 22378.560, result RPS: 0.732, result MiB/s: 0.000.
0.000% 1.310 sec.
10.000% 1.321 sec.
20.000% 1.327 sec.
30.000% 1.337 sec.
40.000% 1.343 sec.
50.000% 1.359 sec.
60.000% 1.366 sec.
70.000% 1.381 sec.
80.000% 1.400 sec.
90.000% 1.434 sec.
95.000% 1.448 sec.
99.000% 1.489 sec.
99.900% 1.499 sec.
99.990% 1.500 sec.
```
after this patch:
```
QPS: 0.787, RPS: 2524560389.064, MiB/s: 24076.084, result RPS: 0.787, result MiB/s: 0.000.
0.000% 1.228 sec.
10.000% 1.232 sec.
20.000% 1.235 sec.
30.000% 1.241 sec.
40.000% 1.246 sec.
50.000% 1.256 sec.
60.000% 1.265 sec.
70.000% 1.278 sec.
80.000% 1.296 sec.
90.000% 1.321 sec.
95.000% 1.354 sec.
99.000% 1.421 sec.
99.900% 1.453 sec.
99.990% 1.456 sec.
```
I also tried a SSE2 implementation and it's much slower (50%)
2018-08-26 02:23:26 +08:00
alexey-milovidov
732afd27cf
Merge pull request #2953 from yandex/max-block-size-in-system-tables-columns
...
Support for max_block_size in system.tables and system.columns tables
2018-08-25 20:36:54 +03:00
Amos Bird
9623e59870
Simplify read helpers.
...
Use similar APIs like https://en.cppreference.com/w/cpp/string/byte/strstr
2018-08-26 01:27:28 +08:00
Alexey Milovidov
0ef5b19436
Merge branch 'master' of github.com:yandex/ClickHouse
2018-08-25 19:50:14 +03:00
Alexey Milovidov
17818fa54f
Merge branch 'Tezd-feature/suggestions'
2018-08-25 19:49:48 +03:00
alexey-milovidov
e7edfd2a05
Merge pull request #2952 from amosbird/buffer
...
Make sure BufferBase is fully swapped.
2018-08-25 19:35:41 +03:00
Alexey Milovidov
aa936b09f9
Added check for max_block_size = 0 #2447
2018-08-25 19:32:44 +03:00
Alexey Milovidov
9c79c5f8ab
Added test #2447
2018-08-25 19:26:55 +03:00
Alexey Milovidov
93b44fb17c
Made suggest case sensitive again. Otherwise there is a glitch when you type SELECT DIS<TAB> #2447
2018-08-25 19:19:00 +03:00
Alexey Milovidov
068e50329e
Support for max_block_size in system.tables and system.columns tables #2447
2018-08-25 19:07:48 +03:00
Alexey Milovidov
417cc1ab4d
Additions #2447
2018-08-25 19:05:01 +03:00
Alexey Milovidov
24083e3088
Separate files #2447
2018-08-25 16:55:18 +03:00
Alexey Milovidov
9293882206
Allow to disable suggestion; check server revision #2447
2018-08-25 16:41:50 +03:00
Alexey Milovidov
32eb1a7942
Merge branch 'feature/suggestions' of https://github.com/Tezd/ClickHouse into Tezd-feature/suggestions
2018-08-25 16:15:30 +03:00
Amos Bird
5f03082af9
Make sure BufferBase is fully swapped.
2018-08-25 19:58:16 +08:00
alexey-milovidov
046137f9c5
Merge pull request #2946 from amosbird/locking
...
Better locking for StorageBuffer
2018-08-25 13:47:29 +03:00
Amos Bird
2602177525
Better locking for StorageBuffer
2018-08-25 13:52:06 +08:00
Alexey Milovidov
8cc3501c04
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 05:00:36 +03:00
Alexey Milovidov
3475ef5304
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 04:58:14 +03:00
Alexey Milovidov
4d343a441c
Attempt to generalize ZooKeeper interface [#CLICKHOUSE-2]
2018-08-25 04:14:02 +03:00
Alexey Milovidov
01082d03d2
Adopted logic in ReplicatedMergeTreeBlockOutputStream #2949
2018-08-25 01:55:02 +03:00
Alexey Milovidov
cc56235ad9
Merge remote-tracking branch 'origin/master' into distinguish-between-definitely-lost-and-unknown-requests-in-zookeeper
2018-08-25 01:53:58 +03:00
Alexey Milovidov
2530561086
ZooKeeperImpl: allow to distinguish cases when request was definitely not been processed #2939
2018-08-25 01:50:20 +03:00
alexey-milovidov
7ba62c2e25
Merge pull request #2939 from yandex/fix-potential-data-loss-in-case-of-zk-errors
...
Fixed potential data loss in case of ZK errors [#CLICKHOUSE-3916]
2018-08-25 01:08:31 +03:00
Sjoerd Mulder
9fa0c33b66
Adding third-party scala driver ( #2945 )
...
* Adding scala driver
* Update ru doc
2018-08-24 17:36:09 +03:00
alexey-milovidov
3466277b0a
Merge pull request #2940 from yandex/better-exception-message-in-case-of-wrong-number-of-arguments-for-function-if
...
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 15:31:22 +03:00
alesapin
935ae2421b
Merge pull request #2943 from alesapin/master
...
Remove strange parameter and add version from env to all calls
2018-08-24 14:20:28 +03:00
alesapin
ec594ad8e8
Remove strange parameter and add version from env to all calls
2018-08-24 14:19:06 +03:00
Alexey Milovidov
9f6073b562
Fixed test #2940
2018-08-24 14:09:20 +03:00
alexey-milovidov
eab95e43d1
Merge pull request #2938 from yandex/speed-up-fuzz-tests-2
...
Speed up fuzz tests, part 2 #2924
2018-08-24 14:07:35 +03:00
alesapin
7722b3caa1
Merge pull request #2941 from alesapin/master
...
CLICKHOUSE-3894: Custom api version
2018-08-24 13:35:30 +03:00
alesapin
5849f4b9cb
CLICKHOUSE-3894: Custom api version
2018-08-24 13:31:19 +03:00
alesapin
9ac6e0a2b4
Merge pull request #2885 from amosbird/odbcfix
...
Add schema argument to ODBC table func.
2018-08-24 13:02:06 +03:00
Alexey Milovidov
eee6644a22
Better exception message in case of wrong number of arguments for function "if" [#CLICKHOUSE-3932]
2018-08-24 12:57:42 +03:00
Alexey Milovidov
2febf6af4f
Fixed tests #2938
2018-08-24 12:47:47 +03:00