Commit Graph

81369 Commits

Author SHA1 Message Date
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
Maksim Kita
110b39add4 H3 remove functions degsToRads, radsToDegs 2022-01-17 14:42:50 +00:00
Amos Bird
6d62060e16
Build improvement 2022-01-17 22:36:27 +08: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
31fb93330e Fix comment 2022-01-17 14:54:51 +03:00
alesapin
4caef03e6a Add ephemeral lock in zookeeper 2022-01-17 14:52:51 +03:00
mergify[bot]
23f09bd25a
Merge branch 'master' into fix-mongo2-compose 2022-01-17 11:52:48 +00: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
alesapin
ccf990e887 Merge branch 'master' into add_integration_test_for_zero_duplication 2022-01-17 13:33:39 +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
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
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
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