Commit Graph

120613 Commits

Author SHA1 Message Date
Alexey Milovidov
71694b60b3
Merge branch 'master' into any_value 2023-07-22 04:55:39 +03:00
Alexey Milovidov
e68234a231
Revert "Re-add SipHash keyed functions" 2023-07-22 04:45:50 +03:00
Alexey Milovidov
7af9af1a3f
Merge pull request #52103 from azat/tests/test_materialized_mysql_database
tests: drop existing view in test_materialized_mysql_database
2023-07-22 03:41:52 +03:00
Alexey Milovidov
e5797b7fea
Merge pull request #51514 from azat/tests/fix-integration-tests
Fix running integration tests with spaces in it's names
2023-07-22 03:38:51 +03:00
Alexey Milovidov
9a5aed35e2 Add a note about potential caveats for the "session_timezone" setting 2023-07-22 02:33:44 +02:00
Alexey Milovidov
8e04503d1c
Merge pull request #52325 from azat/mergetree-log-entries-time
MergeTree/ReplicatedMergeTree should use server timezone for log entries
2023-07-22 03:29:39 +03:00
Alexey Milovidov
45f88f8f25
Merge pull request #52357 from azat/fix-capabilities
Fix capabilities installed via systemd service (fixes netlink/IO priorities)
2023-07-22 03:28:39 +03:00
Alexey Milovidov
ae8f511ac5 Fix a test 2023-07-22 02:27:07 +02:00
Alexey Milovidov
860e3975ad Merge branch 'sleep-each-row-max-time' of github.com:ClickHouse/ClickHouse into sleep-each-row-max-time 2023-07-22 02:25:23 +02:00
Alexey Milovidov
91fd286165 Merge branch 'master' into sleep-each-row-max-time 2023-07-22 02:25:03 +02:00
Alexey Milovidov
37a7b13ca6
Merge pull request #52095 from azat/tests/fix-docker-network-prune
Add missing --force for docker network prune (otherwise it is noop on CI)
2023-07-22 02:30:28 +03:00
robot-ch-test-poll
8175ba8ade
Merge pull request #52408 from ClickHouse/fix-test_keeper_force_recovery
Fix `test_keeper_force_recovery`
2023-07-22 00:22:54 +02:00
Alexey Milovidov
2d89dba8d1
Merge pull request #51796 from rschu1ze/show-index-better-mysql-compat
Improve MySQL compatibility of statement `SHOW INDEX`
2023-07-22 01:22:47 +03:00
Igor Nikonov
687cbc57bb Fix typo 2023-07-21 22:15:02 +00:00
Alexey Milovidov
d0cb6596e1
Merge pull request #52259 from Chen768959/fix-50582
fix issue#50582 Not found column NULL in block
2023-07-22 01:05:59 +03:00
robot-clickhouse
9280f4a9fd
Merge pull request #51958 from ClickHouse/prewhere_and_pk_columns
Move conditions with columns from PK to the end of PREWHERE chain
2023-07-22 00:05:41 +02:00
Alexey Milovidov
c6ffc9f266
Update 02815_fix_not_found_constants_col_in_block.sql 2023-07-22 01:05:39 +03:00
robot-ch-test-poll2
69b897d726
Merge pull request #52113 from arenadata/ADQM-996
Collect logs for the system.text_log table even before it is initialized, to record the server startup
2023-07-22 00:01:45 +02:00
Alexey Milovidov
de949b6844
Merge pull request #52306 from ClickHouse/backuptestfix
Add missing replica syncs in test_backup_restore_on_cluster
2023-07-22 00:57:24 +03:00
Igor Nikonov
6c8d5ca0a5 Fix: remove redundant distinct with views 2023-07-21 21:33:51 +00:00
Igor Nikonov
8c8e097b72
Merge pull request #51013 from bigo-sg/grace_hash_join_full_right_202306
Grace hash join support full & right join
2023-07-21 22:22:06 +02:00
alesapin
ed97284bfa
Update src/Storages/StorageReplicatedMergeTree.cpp 2023-07-21 19:28:28 +02:00
Nikolai Kochetov
01cb502af3
Merge pull request #52151 from amosbird/fix_52075
Fix incorrect projection analysis when aggregation expression contains monotonic functions
2023-07-21 18:30:27 +02:00
Alexander Sapin
a2b170a18e Avoid exception which I didn't understand 2023-07-21 17:42:55 +02:00
Roman Vasin
5fb5ba71ed Throw exception when several text nodes found in YAML for element node 2023-07-21 15:40:53 +00:00
Raúl Marín
3acb6005f0 Reduce the number of syscalls in FileCache::loadMetadata 2023-07-21 17:08:01 +02:00
Amos Bird
b459da7d8a
Merge branch 'master' into fix_52055 2023-07-21 22:02:04 +08:00
Antonio Andelic
6ed97a944f
Merge pull request #49450 from myrrc/feature/keeper-dyn-reconf
`reconfig` support for CH Keeper
2023-07-21 15:59:25 +02:00
robot-clickhouse
2a6b96f9e3 Automatic style fix 2023-07-21 13:51:40 +00:00
Amos Bird
c080e9b450
Fix normal projection with merge table 2023-07-21 21:48:49 +08:00
Alexander Sapin
abd8bfed2b Remove comment 2023-07-21 15:44:49 +02:00
Roman Vasin
1daa26c741 Fix black formatting 2023-07-21 13:31:42 +00:00
Yarik Briukhovetskyi
e7b9b42326
Merge branch 'master' into rewrite_uniq_to_count 2023-07-21 15:30:03 +02:00
Roman Vasin
10ec069175 Improve exception message text 2023-07-21 13:29:40 +00:00
Alexander Gololobov
cb53d762ea Fix one more case 2023-07-21 15:23:24 +02:00
Nikolai Kochetov
b5cf644668
Check projection metadata the same way we check ordinary metadata. (#52361)
* Check projection metadata the same way we check ordinary metadata.

* Allow aggregate projection to have empty PK

---------

Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-07-21 16:23:04 +03:00
Alexander Gololobov
8d4c840e2d Some more cases 2023-07-21 15:15:35 +02:00
Roman Vasin
0aed62ec73 Add codec name into exception message 2023-07-21 13:03:25 +00:00
Alexander Sapin
4695ec6802 Add an ability to specify allocations size for sampling memory profiler 2023-07-21 14:56:29 +02:00
Kseniia Sumarokova
8ec8388a9e
Update gtest_lru_file_cache.cpp 2023-07-21 14:53:02 +02:00
Roman Vasin
3798bd6f50 Replace test by text_to_encrypt 2023-07-21 12:52:07 +00:00
robot-clickhouse-ci-2
0db9c79886
Merge pull request #52332 from rschu1ze/better-formatsettings
Minor: Less awkward IAST::FormatSettings
2023-07-21 14:49:58 +02:00
robot-ch-test-poll4
62e01df545
Merge pull request #52104 from filimonov/last_removal_attempt_time_typo
Fix typo last_removal_attemp_time
2023-07-21 14:49:36 +02:00
Alexey Milovidov
dc0abd38a9
Merge pull request #52376 from Algunenano/hot_cold_zero_copy
[RFC] Wait for zero copy replication lock even if some disks don't support it
2023-07-21 15:28:41 +03:00
Krzysztof Góralski
c9ffbcbe9d
Merge branch 'master' into filesystemCacheSizeLimitMetric 2023-07-21 14:17:26 +02:00
Alexander Tokmakov
b45c2c939b
disable expression templates for time intervals (#52335) 2023-07-21 15:17:07 +03:00
Nikita Mikhaylov
5ea0971921
Merge pull request #52379 from ClickHouse/fix-test-with-encrypted-disks
Fix `test_replicated_merge_tree_encrypted_disk `
2023-07-21 14:12:51 +02:00
Antonio Andelic
59ad2d9acc
Merge branch 'master' into feature/keeper-dyn-reconf 2023-07-21 14:08:26 +02:00
Alexander Tokmakov
d9161c7276
Merge pull request #52382 from ClickHouse/tavplubix-patch-8
Less replication errors
2023-07-21 14:58:25 +03:00
Azat Khuzhin
1fe8076b94 Fix capabilities installed via systemd service (fixes netlink/IO priorities)
CapabilityBoundingSet that contained in systemd unit before is about
allowing to set some capabilities, not about granting them.

To grant them you need to use AmbientCapabilities.

And if you do not use 'clickhouse install' then:
- IO priorities was unavailable (since they requires CAP_SYS_NICE)
- For taskstats the procfs was used instead of netlink

Not a big deal, but still.

Here how it had been tested:

    $ systemd-run -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
    root:/etc (master)# capsh --print
    Current: cap_net_admin=ep
    Bounding set =cap_net_admin
    Ambient set =

    $ systemd-run -p User=azat -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
    azat:/etc$ capsh --print
    Current: =
    Bounding set =cap_net_admin
    Ambient set =

    $ systemd-run -p User=azat -p AmbientCapabilities=CAP_NET_ADMIN -p CapabilityBoundingSet=CAP_NET_ADMIN --shell
    azat:/etc$ capsh --print
    Current: cap_net_admin=eip
    Bounding set =cap_net_admin
    Ambient set =cap_net_admin

Note, if you are running it under root (without changing user) you don't
need to specify AmbientCapabilities additionally, because root has all
capabilities by default and they had been inherited.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-21 13:57:31 +02:00