Commit Graph

81282 Commits

Author SHA1 Message Date
Kseniia Sumarokova
48d736a0c7
Merge pull request #33703 from ClickHouse/kssenii-patch-2
Fix hive tests
2022-01-17 22:55:19 +03:00
Kseniia Sumarokova
3414cd8d56
Merge pull request #33709 from Zkuns/master
Update materialized-postgresql.md
2022-01-17 19:24:10 +03:00
zkun
bb9f9874af Update materialized-postgresql.md 2022-01-18 00:19:07 +08:00
Maksim Kita
41fa490473
Merge pull request #33665 from azat/improve-collection-parsing
Slightly reduce memory usage for parsing collections (by using move ctor)
2022-01-17 15:43:44 +01:00
tavplubix
34b3894422
Merge pull request #33676 from ClickHouse/fix-8340
Correctly determine current database if CREATE TEMPORARY TABLE AS SELECT is queried inside a named HTTP session.
2022-01-17 16:52:09 +03:00
Kseniia Sumarokova
232887ea6c
Update test.py 2022-01-17 16:39:53 +03:00
Maksim Kita
886b3c1ace
Merge pull request #33675 from ClickHouse/fix-7462
Allow `insertFrom` for `ColumnFunction`
2022-01-17 13:42:12 +01:00
alesapin
b2271cc2d9
Merge pull request #33288 from JackyWoo/add_lower_bound_session_timeout_to_keeper
Add lower bound session timeout to keeper
2022-01-17 14:06:15 +03:00
Mikhail f. Shiryaev
5b90b2ff8f
Merge pull request #33700 from ClickHouse/follow-33667
Add some helping comments for API endpoints
2022-01-17 11:19:13 +01:00
Mikhail f. Shiryaev
396b504397
Add some helping comments for API endpoints 2022-01-17 11:06:40 +01:00
Mikhail f. Shiryaev
63db0f7bac
Merge pull request #33669 from ClickHouse/merge-33563-2
Merge #33563
2022-01-17 11:00:16 +01:00
Mikhail f. Shiryaev
6dbff04ccb
Merge pull request #33673 from ClickHouse/22.1-helper
Update version after release 22.1
2022-01-17 10:18:32 +01:00
Vitaly Baranov
bb620a93af
Merge pull request #33574 from vitlibar/fix-multiple-ldap-storages-in-same-config
Fix using multiple LDAP storages in the same config.
2022-01-17 13:58:12 +07:00
Vitaly Baranov
f707eb5531
Merge pull request #33401 from IlyaTsoi/master
Fixed crash of the LDAP authorization process if there are parentheses in the user_dn variable
2022-01-17 13:53:45 +07:00
Vitaly Baranov
1e5aaa4c10
Merge pull request #33492 from huzhichengdd/grant_bug_fixed
fix ContextAccess constructor to avoid coredump
2022-01-17 13:49:35 +07:00
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
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
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
746c2a1306 Fix style check 2022-01-16 15:29:46 +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
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
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