Commit Graph

64263 Commits

Author SHA1 Message Date
Nikolai Kochetov
48ce2ce500 Fix script 2021-05-20 22:57:06 +03:00
Azat Khuzhin
4f41ebcae3 Add settings (for connections) for MySQL storage engine
Default settings are not very efficient, since they do not even reuse
connections.
And when each query requires connection you can have only ~80 QPS, while
by simply enabling connection reuse (connection_auto_close=false) you
can have ~500 QPS (and by increasing connection_pool_size you can have
better QPS throughput).

So this patch allows to pass through some connection related settings
for the StorageMySQL engine, like:
- connection_pool_size=16
- connection_max_tries=3
- connection_auto_close=true

v2: remove connection_pool_default_size
v3: remove num_tries_on_connection_loss
2021-05-20 22:44:52 +03:00
Maksim Kita
2c4920186b
Merge pull request #24342 from kitaisreal/jit-support-aarch64-compilation
LLVM JIT support AARCH64
2021-05-20 22:24:59 +03:00
robot-clickhouse
471142043f Auto version update to [21.7.1.1] [54452] 2021-05-20 22:23:34 +03:00
robot-clickhouse
7f8b8e6ade Auto version update to [21.6.1.6891] [54451] 2021-05-20 22:20:07 +03:00
Nikolai Kochetov
87e73a970e Fix style 2021-05-20 21:18:44 +03:00
Nikolai Kochetov
e66e3e9271 Fix style 2021-05-20 21:11:12 +03:00
Azat Khuzhin
59d4d42b5e Mark some tests as long 2021-05-20 21:04:12 +03:00
Azat Khuzhin
8b438bcd3c Change formatting of subqueries (make it more human friendly)
Fix trailing whitespaces in FROM/IN clause with subqueries in multiline
mode, and also changes the output of the queries slightly in a more
human friendly way.

Before:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one
    ,
    (
        SELECT *
        FROM system.one
    )

After:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one,
    (
        SELECT *
        FROM system.one
    )

v2: Fix subqueries formatting in a different way
v3: Adjust *.reference in tests
v4: Fix modernize-loop-convert in ASTTablesInSelectQuery
2021-05-20 21:04:12 +03:00
Nikolai Kochetov
386cbf751c Better parallelizm for fast tests. 2021-05-20 19:46:15 +03:00
Nikolai Kochetov
9d4927a5b9 Better parallelizm for fast tests. 2021-05-20 19:44:35 +03:00
robot-clickhouse
0037713dd3 Update version_date.tsv after release 21.5.5.12 2021-05-20 19:21:45 +03:00
Nikolai Kochetov
fa88e8725a Better parallelizm for fast tests. 2021-05-20 19:02:46 +03:00
alesapin
333e291b5d
Merge pull request #24307 from ClickHouse/one_more_error_clickhouse_test
One more error to retry in clickhouse-test
2021-05-20 18:58:50 +03:00
tavplubix
acd952d701
Merge pull request #24309 from ClickHouse/fix_rename_matview
Fix rename MaterializedView
2021-05-20 18:20:38 +03:00
vdimir
09d63545b0
Return float in segmentLengthSum for float args, add tests 2021-05-20 17:43:24 +03:00
Maksim Kita
cf5f36b70e LLVM JIT support AARCH64 2021-05-20 14:09:32 +00:00
vdimir
c8cbde1b89
Merge branch 'master' into count-range 2021-05-20 16:51:51 +03:00
Alexander Kuzmenkov
84e4b19ad3
Merge pull request #24338 from ClickHouse/aku/fasttest-retries
remove retries from fast test
2021-05-20 16:26:38 +03:00
mergify[bot]
19f48e2a9b
Merge branch 'master' into aku/fuzzer-connection-loss 2021-05-20 13:05:34 +00:00
Alexander Kuzmenkov
1b0bcfe022 remove retries from fast test 2021-05-20 15:31:56 +03:00
Ivan Lezhankin
3c6b69a430 Fix test 2021-05-20 15:12:09 +03:00
Maksim Kita
bee67189a1
Merge pull request #24333 from kitaisreal/pod-array-insert-in-the-middle-tests
PODArray insert in the middle tests
2021-05-20 15:00:45 +03:00
Maksim Kita
bbd53196e7 PODArray insert in the middle tests 2021-05-20 13:24:50 +03:00
mergify[bot]
0c006a9c96
Merge branch 'master' into one_more_error_clickhouse_test 2021-05-20 10:06:34 +00:00
tavplubix
9d728fd017
Update skip_list.json 2021-05-20 12:55:11 +03:00
Maksim Kita
efe70aaa07
Merge pull request #24271 from fuzhe1989/fix/podarray_memmove
Use memmove in PODArray::insert to handle memory overlapping.
2021-05-20 12:50:27 +03:00
Maksim Kita
b7db4b8441
Merge pull request #24323 from kitaisreal/compile-expressions-added-partition-by-test
Compile expressions added partition by test
2021-05-20 11:55:55 +03:00
Maksim Kita
25fe0e88f8 Compile expressions added partition by test 2021-05-20 11:16:15 +03:00
Maksim Kita
af78649e56
Merge pull request #24023 from kitaisreal/compile-expressions-comparison-function-constant-case-with-alias-fix
CompileExpressions comparison function constant case fix
2021-05-20 10:58:38 +03:00
Maksim Kita
b0476c1fa2
Merge pull request #24273 from kitaisreal/expression-actions-compile-only-necessary-places
ExpressionActions compile only necessary places
2021-05-20 10:53:30 +03:00
Nikolai Kochetov
818d081292
Merge pull request #24296 from amosbird/projection-fix5
Skip data finalization when doing projection materialization.
2021-05-20 10:50:42 +03:00
Nikolai Kochetov
d09f3bcd0d
Merge pull request #24252 from ClickHouse/try-fix-group-by-shard-num-in-another-way
Try to fix GROUP BY _shard_num in a different way
2021-05-20 10:49:45 +03:00
alesapin
cf94bc9b8c
Merge pull request #24059 from ClickHouse/standalone_keeper
Standalone keeper server
2021-05-20 10:10:51 +03:00
alesapin
b9c3601083
Merge pull request #24275 from ucasFL/fix-mutation
Fix mutation fail of StorageMemory
2021-05-20 10:09:48 +03:00
Alexey Milovidov
2b6ffc557a Remove useless file 2021-05-20 09:31:17 +03:00
Alexey Milovidov
1006a970f7 Remove AutoArray 2021-05-20 09:30:13 +03:00
alexey-milovidov
976ccc2e90
Merge pull request #24313 from ClickHouse/fix-enum-hints-bad-test
Fix bad test for Enum hints
2021-05-20 04:14:29 +03:00
Maksim Kita
364937bd54
Merge pull request #24297 from huzhichengdd/patch-13
Update interval.md
2021-05-20 02:12:50 +03:00
Alexey Milovidov
e686349fcc Fix wrong logic in hints about Enum names 2021-05-20 01:47:10 +03:00
Alexey Milovidov
93585a0dd1 Fix bad test for Enum hints 2021-05-20 01:26:44 +03:00
robot-clickhouse
6d586c9180 Update version_date.tsv after release 21.4.7.3 2021-05-20 01:26:42 +03:00
Alexey Milovidov
335dafe887 Revert "Minor change"
This reverts commit db9f68fced.
2021-05-20 01:16:43 +03:00
Alexey Milovidov
db9f68fced Minor change 2021-05-20 01:16:11 +03:00
alexey-milovidov
919457ce37
Merge pull request #24308 from azat/fix-isLocalAddress
Fix isLocalAddress() (ifa_addr maybe NULL)
2021-05-20 01:09:35 +03:00
Azat Khuzhin
92632bf0c1 Fix isLocalAddress() (ifa_addr maybe NULL)
From getifaddrs(3):

    The ifa_addr field points to a structure containing the interface
    address.  (The sa_family subfield should be consulted to
    determine the format of the address structure.)  This field may
    contain a null pointer.

I have the problem with tun0, that creates points-to-point address, so
getifaddrs() returns NULL ifa_addr for one of addrs for tun0.
You can check this, using this simple example - [1].

  [1]: https://gist.github.com/azat/cc667d145bc74215c40cdbb69f38189b
2021-05-20 00:04:11 +03:00
alexey-milovidov
57348632dc
Merge pull request #24196 from Algunenano/gcc11_compat
Gcc11 compatibility
2021-05-19 22:20:22 +03:00
mergify[bot]
839079f8b1
Merge branch 'master' into aku/fuzzer-connection-loss 2021-05-19 19:02:53 +00:00
Alexander Tokmakov
2996e7c072 fix rename matview 2021-05-19 21:53:31 +03:00
alesapin
8c4f811152 One more error to retry 2021-05-19 21:35:05 +03:00