Commit Graph

81591 Commits

Author SHA1 Message Date
Maksim Kita
a0ad7a1014 Update IExternalLoadable interface 2022-01-16 00:06:10 +00:00
Maksim Kita
b686fc142c
Merge pull request #33668 from kitaisreal/build-documentation-fix
Build documentation fix
2022-01-16 00:31:49 +01:00
Maksim Kita
0206b75422 MacOS build documentation fix 2022-01-15 23:31:22 +00:00
Maksim Kita
0df98140af Functions dictGet, dictHas implicit key cast 2022-01-15 23:25:05 +00:00
Maksim Kita
dfe64a2789
Merge pull request #33628 from ClickHouse/fix-block-perf-context-description
do not construct std::string if there is no error
2022-01-15 23:15:44 +01:00
alexey-milovidov
e0d1b13402
Update Dockerfile 2022-01-16 00:15:19 +03:00
Alexey Milovidov
a967f90ef7 Add comments 2022-01-15 22:28:08 +03:00
Alexey Milovidov
dce1269b2a Merge branch 'master' of github.com:yandex/ClickHouse into merge-33563-2 2022-01-15 22:27:20 +03:00
Alexey Milovidov
7e266387b1 Merge #33563 2022-01-15 22:25:05 +03:00
alexey-milovidov
d4f5028f26
Merge pull request #33660 from ClickHouse/merge-33563
Update "gosu" version
2022-01-15 21:58:41 +03:00
alexey-milovidov
d4fceeef3e
Merge pull request #33667 from ClickHouse/fix-pr-ci-restart
Fix pr ci restart
2022-01-15 21:57:37 +03:00
alexey-milovidov
2f6112bf2e
Merge pull request #33662 from azat/fix-01814_distributed_push_down_limit
Fix 01814_distributed_push_down_limit flakiness
2022-01-15 21:57:10 +03:00
Azat Khuzhin
16adcc1666 Reduce memory usage for parsing collections (by using move ctor)
In case you pass array in VALUES section (ValuesBlockInputFormat), it
will be copied after it had been created.
This is not significant if array is small, however if you have huge
enough array, then this can become significant (especially for array of
bool, since for each element will be used Field anyway, and it's size is
56 byte).

Here is a simple reproducer:

    $ curl -sS 'http://127.1:8123/?input_format_values_deduce_templates_of_expressions=0' -d@- <<<"insert into function null('_ Int') values (length([0,$(yes 1, | head -n2000000 | tr -d '\n')1]))"

But note, that there is lots of work (evalute constant expressions from #6781)
after parsing collection, and so total memory usage for query does not
changed a lot (hence - no test).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-15 21:13:05 +03:00
Mikhail f. Shiryaev
91caf07b20
Apply black to workflow_approve_rerun_lambda 2022-01-15 18:54:58 +01:00
Mikhail f. Shiryaev
4c7a8abd20
Add PullRequestCI to NEED_RERUN_WORKFLOWS 2022-01-15 18:53:37 +01:00
alexey-milovidov
0c4cc379ed
Merge pull request #33573 from jahilliard/patch-1
Added Superwall to adopters list
2022-01-15 20:38:09 +03:00
alexey-milovidov
3287bc724d
Update adopters.md 2022-01-15 20:37:31 +03:00
Tiaonmmn
8d2791a1c3
Update apply-catboost-model.md 2022-01-16 00:30:37 +08:00
mergify[bot]
17f17c13f5
Merge branch 'master' into fix-mongo2-compose 2022-01-15 13:50:03 +00:00
Maksim Kita
db040c3c1b
Merge pull request #33661 from amosbird/arrowthrift
Properly separate thrift-cmake from arrow-cmake
2022-01-15 14:34:20 +01:00
Maksim Kita
998b330507
Merge pull request #33658 from den-crane/tests/issue_33592
test for #33592
2022-01-15 14:31:21 +01:00
Maksim Kita
8aed06c922
Merge pull request #33663 from amosbird/addmyself
Add amosbird to trusted user.
2022-01-15 14:10:37 +01:00
Amos Bird
4da2a660ec
Add amosbird to trusted user. 2022-01-15 20:23:55 +08:00
Azat Khuzhin
31a6532f01 Fix 01814_distributed_push_down_limit flakiness
Before it was possible that the query was already cancelled, and so you
will get ExceptionWhileProcessing and QueryFinish:

    ┌─query───────────────────────────────────────────────────────────────────┬─query_id─────────────────────────────┬─read_rows─┬─type─────────────────────┐
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ 2d39bfd6-f0e7-404a-9990-7703f7a4ec3a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ QueryFinish              │
    │ SELECT `key` FROM `test_qvcjdo`.`data_01814` GROUP BY `key` LIMIT 0, 10 │ d930bf54-e965-42fd-9d48-5e54a588187a │        40 │ ExceptionWhileProcessing │
    └─────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────┴───────────┴──────────────────────────┘

And so you will got more then two rows.

CI: https://s3.amazonaws.com/clickhouse-test-reports/33660/a4e8e61d57eab14116983a340c65e5e2d7039ed5/stateless_tests__release__wide_parts_enabled__actions_.html
2022-01-15 15:04:24 +03:00
mergify[bot]
db0c48d70d
Merge branch 'master' into fix-block-perf-context-description 2022-01-15 12:02:17 +00:00
mergify[bot]
0535e0e823
Merge branch 'master' into arrowthrift 2022-01-15 09:45:58 +00:00
Amos Bird
011646491d
Properly separate thrift-cmake from arrow-cmake. 2022-01-15 13:50:58 +08:00
Alexey Milovidov
a4e8e61d57 Update "gosu" version 2022-01-15 02:59:28 +03:00
alexey-milovidov
1e8e21570c
Merge pull request #33625 from ClickHouse/better_integration_tests
Fix two flaky integration tests
2022-01-15 02:32:54 +03:00
alexey-milovidov
c3972f000d
Merge pull request #33614 from ClickHouse/safe-names-in-blog
Use safe page URL for a blog post
2022-01-15 02:29:37 +03:00
Denny Crane
b8171eb755 test for #33592 2022-01-14 18:08:03 -04:00
mergify[bot]
4ffc3bb589
Merge branch 'master' into fix-mongo2-compose 2022-01-14 18:36:37 +00:00
mergify[bot]
f877ae9539
Merge branch 'master' into fix-block-perf-context-description 2022-01-14 18:10:15 +00:00
Kruglov Pavel
e2df17ef5c
Merge pull request #33565 from Avogar/format-by-extention
Detect format by file name in file/hdfs/s3/url table functions
2022-01-14 21:01:59 +03:00
alesapin
436ad63958 More retries 2022-01-14 20:05:55 +03:00
alesapin
bf803472b1 Add a tests for a TTL bug in zero copy replication 2022-01-14 18:44:10 +03:00
Sergei Trifonov
f70c6320cf use std::string_view instead of raw pointers 2022-01-14 18:41:41 +03:00
Mikhail f. Shiryaev
b72e7db223
Merge pull request #33635 from ClickHouse/docker-etc-hosts
Remove broken editing of /etc/hosts
2022-01-14 16:39:15 +01:00
Kruglov Pavel
d2e9f37bee
Merge branch 'master' into format-by-extention 2022-01-14 18:36:23 +03:00
Kruglov Pavel
6945a7fd4a
Merge pull request #33641 from Avogar/fix-s3-tests
Fix s3 integration tests
2022-01-14 18:35:00 +03:00
avogar
b127356e93 Fix s3 integration tests 2022-01-14 18:34:22 +03:00
Kruglov Pavel
4ed81c8bc8
Merge pull request #33629 from Avogar/fix-parquet-test
Fix test 00900_long_parquet_load
2022-01-14 18:29:37 +03:00
Kruglov Pavel
5d3f78f773
Update 02165_auto_format_by_file_extension.sh 2022-01-14 18:05:56 +03:00
Vladimir C
fccdb6583c
Merge pull request #33638 from ekonkov/patch-1 2022-01-14 18:02:49 +03:00
Eugene Konkov
dfe87e3541
fix typo 2022-01-14 17:52:10 +03:00
Mikhail f. Shiryaev
fdb88b75ec
Don't build integration tests on arm64 yet 2022-01-14 15:48:43 +01:00
avogar
3d3ccf8c8f Fix test 02165_auto_format_by_file_extension 2022-01-14 17:47:11 +03:00
avogar
817a314263 Fix tests and style 2022-01-14 17:46:24 +03:00
Mikhail f. Shiryaev
73f06421b1
Use automatic architecture for docker repo 2022-01-14 15:03:43 +01:00
Mikhail f. Shiryaev
97e4151aff
Remove broken editing of /etc/hosts 2022-01-14 14:46:14 +01:00