Commit Graph

81406 Commits

Author SHA1 Message Date
alexey-milovidov
16feccbb34
Merge pull request #33672 from kitaisreal/functions-dict-get-has-implicit-key-cast
Functions dictGet, dictHas implicit key cast
2022-01-17 07:38:36 +03:00
JackyWoo
a3cb2dd671 Trigger test 2022-01-17 12:00:40 +08:00
Alexey Milovidov
290da875a2 Cleaning trash and making sense out of autogenerated changelog (50% done) 2022-01-17 04:58:00 +03:00
Alexey Milovidov
ad2e8cc6f5 Add a test 2022-01-17 04:16:29 +03:00
Alexey Milovidov
56b25f4543 Review fixes 2022-01-17 04:14:16 +03:00
Alexey Milovidov
912d5f82c7 Add a test 2022-01-17 04:07:07 +03:00
Alexey Milovidov
1a528b09c6 Add autogenerated changelog, switch to the current year 2022-01-17 04:06:23 +03:00
Maksim Kita
ea78c0b33c Fixed style 2022-01-16 16:45:33 +00:00
Maksim Kita
8f24bd1069
Merge pull request #33682 from kitaisreal/dictionary-source-coordinator-fix
DictionarySourceCoordinator update interface
2022-01-16 17:40:02 +01:00
Maksim Kita
39ddd48435 Fix style check 2022-01-16 15:33:03 +00:00
Maksim Kita
886512694c Fixed build 2022-01-16 15:30:23 +00:00
Maksim Kita
746c2a1306 Fix style check 2022-01-16 15:29:46 +00:00
Maksim Kita
0e6b90f513 Fix tests 2022-01-16 12:31:51 +00:00
Maksim Kita
c3d0e8e6f1 Fix style check 2022-01-16 12:23:40 +00:00
Maksim Kita
12f352305a Fix tests 2022-01-16 12:23:40 +00:00
Maksim Kita
9c3cc7adab RangeHashedDictionary use IntervalTree 2022-01-16 12:23:40 +00:00
Maksim Kita
1076ec5539 Added IntervalTree example 2022-01-16 12:23:40 +00:00
Maksim Kita
0626720893 Added IntervalTree 2022-01-16 12:23:40 +00:00
Maksim Kita
dd62c3c93e DictionarySourceCoordinator update interface 2022-01-16 12:22:22 +00:00
Maksim Kita
ff15e5af1d Fixed tests 2022-01-16 11:45:36 +00:00
Alexey Milovidov
4ab7dfc741 Fix #8340 2022-01-16 08:12:55 +03:00
alexey-milovidov
f9d73479d0
Close #26197. 2022-01-16 07:55:50 +03:00
Alexey Milovidov
7848ea7d60 Allow insertFrom for ColumnFunction 2022-01-16 06:18:35 +03:00
Mikhail f. Shiryaev
1aa7362c6f
Auto version update to [22.2.1.1] [54459] 2022-01-16 01:57:27 +01:00
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
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