Commit Graph

80428 Commits

Author SHA1 Message Date
RogerYK
8707e3bea1 make implementation clear and add more test 2022-01-11 23:22:16 +08:00
RogerYK
86db17e70f Add comment and docs 2022-01-03 16:31:11 +08:00
RogerYK
f2e5399c61 Add function bitSlice for String and FixedString 2022-01-02 18:49:09 +08:00
Ilya Yatsishin
b29e8688a5
Merge pull request #33353 from bharatnc/ncb/update-copyright 2022-01-01 10:04:15 +03:00
bharatnc
fcff7f4dc1 update copyright in docs 2021-12-31 16:22:17 -08:00
Ilya Yatsishin
f967bcdee9
Merge pull request #33143 from VitalyArt/patch-1 2021-12-31 21:28:40 +03:00
alexey-milovidov
3f1810c049
Merge pull request #33327 from ClickHouse/rename_committed_to_active
Rename Committed data part state to Active
2021-12-31 14:40:35 +03:00
alexey-milovidov
34b934a1e0
Merge pull request #33331 from ClickHouse/serxa/line-as-string-output-format
Add LineAsString output format
2021-12-31 14:38:36 +03:00
alexey-milovidov
3737d83d3e
Merge pull request #33333 from ClickHouse/add-access-control-to-system-commands
Add missing access control to some system commands
2021-12-31 14:36:59 +03:00
alexey-milovidov
6941b072f4
Merge pull request #33330 from cmsxbc/support-self-closing-tag-for-cluster-secure
support `<secure/>` in cluster configuration.
2021-12-31 14:36:19 +03:00
Kseniia Sumarokova
a3b30dce32
Merge pull request #33334 from kssenii/follow-up-for-33098
Tiny follow-up to pr 33098
2021-12-31 11:11:02 +03:00
SuperDJY
4322fd4bdb
avoid underscore in gtest name 2021-12-31 10:19:03 +08:00
SuperDJY
4c36657926
link clickhouse_common_config to unit_test_dbms 2021-12-31 10:17:17 +08:00
cmsxbc
fd9f1193d8
use .empty() instead of .size() == 0 2021-12-31 08:30:21 +08:00
alexey-milovidov
764631f2d4
Update 02157_line_as_string_output_format.reference 2021-12-30 23:49:53 +03:00
alexey-milovidov
9fcfc5c188
Update 02157_line_as_string_output_format.sql 2021-12-30 23:49:36 +03:00
alexey-milovidov
8fe29eb665
Update 02157_line_as_string_output_format.sql 2021-12-30 23:48:32 +03:00
Alexander Tokmakov
187c43eba8 rename Committed state to Active 2021-12-30 23:45:38 +03:00
Alexey Milovidov
fbe7680544 Add a test 2021-12-30 23:45:02 +03:00
Alexey Milovidov
a3bbdffe3d Update test 2021-12-30 23:39:43 +03:00
alexey-milovidov
42b8678785
Merge pull request #33271 from ClickHouse/always-display-resource-usage-in-client
Always display resource usage in client
2021-12-30 23:36:49 +03:00
kssenii
ae2813a2d5 Fix 2021-12-30 23:31:12 +03:00
Kseniia Sumarokova
a703bcb0c5
Merge pull request #33098 from bigo-sg/lrucache
Add alternative LRUCache version
2021-12-30 23:10:28 +03:00
Alexey Milovidov
d547fddf22 Add missing access control to some system commands 2021-12-30 21:37:21 +03:00
alexey-milovidov
2eec430467
Update 02157_line_as_string_output_format.sql 2021-12-30 21:06:22 +03:00
Sergei Trifonov
f1d398ae4b Add LineAsString output format 2021-12-30 20:38:54 +03:00
cmsxbc
f0e82e2cb6
add comment for ConfigHelper::getBool 2021-12-31 00:47:01 +08:00
alexey-milovidov
3d500f5299
Merge pull request #33277 from peter279k/patch-3
Adding cURL installation message to notice users
2021-12-30 18:54:03 +03:00
alexey-milovidov
08b3273c40
Update http.md 2021-12-30 18:53:30 +03:00
cmsxbc
c28fcd5a2f
support <secure/> for cluster 2021-12-30 23:51:05 +08:00
Vladimir C
b46a1a3741
Merge pull request #33312 from zhongyuankai/optimize_system_tables 2021-12-30 17:40:39 +03:00
Vladimir C
794e906ffd
Merge pull request #33218 from amosbird/betternullablekey 2021-12-30 17:13:44 +03:00
lgbo-ustc
9c32723dcf fix a bug in LRUResourceCache::getImpl() 2021-12-30 21:48:54 +08:00
alesapin
50bf4d3beb
Merge pull request #33278 from azat/fix-test_kafka_virtual_columns2
Fix test_storage_kafka failures by adjusting retention.ms
2021-12-30 16:47:39 +03:00
Maksim Kita
0593f1498a
Merge pull request #33285 from zbtzbtzbt/opt_hashTable
rm redundant judge in hashmap iter operation
2021-12-30 16:34:08 +03:00
lgbo-ustc
e6528ca0ef fix a bug in LRUCache::remove() 2021-12-30 20:38:58 +08:00
vdimir
2686a189de
Apply suggestion for code review, changes in StorageSystemTables getFilteredTables
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-12-30 15:36:38 +03:00
lgbo-ustc
77084f5349 add token holder 2021-12-30 18:43:12 +08:00
Ilya Yatsishin
86040a15d8
Merge pull request #33316 from peter279k/patch-4 2021-12-30 12:46:55 +03:00
alesapin
b8acfdcf8f
Merge pull request #33318 from evillique/refactor_read_buffers
Minor refactor of read buffers with compression
2021-12-30 12:28:48 +03:00
Chun-Sheng, Li
90068405fc
Remove unused sample authentication credentials 2021-12-30 16:19:05 +08:00
mergify[bot]
148f12544e
Merge branch 'master' into patch-4 2021-12-30 08:15:36 +00:00
alesapin
c5fe3a8f8a
Merge pull request #33306 from nvartolomei/nv/fix-old-ccache-again
Fix launcher not being defined for ccache < 4.0 and slightly cleanup
2021-12-30 11:01:07 +03:00
alexey-milovidov
2f121fd79a
Merge pull request #33303 from ClickHouse/reimplement-33054
Reimplement #33054
2021-12-30 11:00:58 +03:00
alexey-milovidov
fa934d673d
Merge pull request #33298 from thomoco/master
Updated adopters: 7 new adopters plus some minor editing
2021-12-30 11:00:21 +03:00
alesapin
28f785627f
Merge pull request #33307 from nvartolomei/nv/allow-build-wo-libraries
Return early if azure blob storage is not used, otherwise it might with fail with irrelevant errors
2021-12-30 10:51:38 +03:00
Azat Khuzhin
52ad7a4538 Fix test_storage_kafka failures by adjusting retention.ms
This test uses predefined timestamps, and default retention.ms is too
small:

    kafka1_1           | [2021-12-28 21:40:21,842] INFO Created log for partition virt2_0-0 in /var/lib/kafka/data with properties {compression.type -> producer, message.format.version -> 2.2-IV1, file.delete.delay.ms -> 60000, max.message.bytes -> 1000012, min.compaction.lag.ms -> 0, message.timestamp.type -> CreateTime, message.downconversion.enable -> true, min.insync.replicas -> 1, segment.jitter.ms -> 0, preallocate -> false, min.cleanable.dirty.ratio -> 0.5, index.interval.bytes -> 4096, unclean.leader.election.enable -> false, retention.bytes -> -1, delete.retention.ms -> 86400000, cleanup.policy -> [delete], flush.ms -> 9223372036854775807, segment.ms -> 604800000, segment.bytes -> 1073741824, retention.ms -> 604800000, message.timestamp.difference.max.ms -> 9223372036854775807, segment.index.bytes -> 10485760, flush.messages -> 9223372036854775807}. (kafka.log.LogManager)

    kafka1_1           | [2021-12-28 21:40:24,540] INFO [Log partition=virt2_0-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)

v2: fix tests with 0 timestamp_ms
    and this should be all tests that was left:

    $ fgrep 'Found deletable segments with base offsets' test_storage_kafka/_instances_0/docker.log
    kafka1_1           | [2021-12-29 09:46:15,610] INFO [Log partition=avro1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
    kafka1_1           | [2021-12-29 09:51:15,609] INFO [Log partition=virt1-0, dir=/var/lib/kafka/data] Found deletable segments with base offsets [0] due to retention time 604800000ms breach (kafka.log.Log)
2021-12-30 10:25:10 +03:00
lgbo-ustc
e8c9079bb8 rename test cases 2021-12-30 14:34:08 +08:00
Nikita Mikhaylov
86cb5f7b47
Merge pull request #33319 from ClickHouse/revert-33219-blobstoragebuildfix
Revert "Better cmake script for azure blob"
2021-12-30 10:13:51 +04:00
Nikita Mikhaylov
71f45f981e
Revert "Better cmake script for azure blob" 2021-12-30 10:13:38 +04:00