Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastest upstream master #2

Merged
merged 3,242 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3242 commits
Select commit Hold shift + click to select a range
13cd2d6
Merge pull request #50021 from kssenii/fix-logical-error-in-try-reserve
kssenii May 23, 2023
d26f9e4
Test with DESC order in sorting prefix
devcrafter May 23, 2023
fbcc944
Merge remote-tracking branch 'origin/master' into fill_with_by_sortin…
devcrafter May 23, 2023
3e63146
Merge pull request #49930 from AVMusorin/write-buffer-from-s3
antonio2368 May 23, 2023
241e751
Fix
kssenii May 23, 2023
f850a44
Merge pull request #49870 from arenadata/ADQM-808
rschu1ze May 23, 2023
b1a3b85
Docs: Update clickhouse-local arguments
rschu1ze May 23, 2023
f39c81d
Merge pull request #49982 from ClickHouse/Fix_flaky_test_ssl_cert_aut…
SmitaRKulkarni May 23, 2023
55af60e
Merge branch 'master' into 42192_Lower_parallel_parsing_threads_with_…
SmitaRKulkarni May 23, 2023
285e8f4
Protect against DOS
rschu1ze May 23, 2023
91bc0fa
Merge pull request #50138 from rschu1ze/docs-clickhouse-local
rschu1ze May 23, 2023
3a95566
Merge pull request #50123 from CurtizJ/fix-multiif-crash
CurtizJ May 23, 2023
0c33926
Merge branch 'master' into url-function-docs
DanRoscigno May 23, 2023
fd62a14
Update build instructions
DanRoscigno May 23, 2023
f9f98ac
note option
DanRoscigno May 23, 2023
4689412
Change fields destruction order in AsyncTaskExecutor
Avogar May 23, 2023
d33caa5
Merge pull request #50149 from ClickHouse/build-update-prereq
robot-ch-test-poll2 May 23, 2023
8645af5
Hoping to get into next release
devcrafter May 23, 2023
64ee8eb
Update MutateTask.cpp
tavplubix May 23, 2023
db4b3d1
Clearer coordinator log (#50101)
Algunenano May 23, 2023
90ee85d
Errata build osx zh doc (#50054)
zy-kkk May 23, 2023
fcd6cb1
add descriptions
DanRoscigno May 23, 2023
584c05d
fix modify order by when there was no order by cols
hanfei1991 May 23, 2023
2c01104
Clarification comment on retries controller behavior
devcrafter May 23, 2023
037c5f8
Merge branch 'master' into hanfei/fix-modify-order-by
hanfei1991 May 23, 2023
e96b255
Merge pull request #50155 from ClickHouse/clarify-keeper-retries-ctl-…
hanfei1991 May 23, 2023
483a3cc
Update comparison-functions.md
den-crane May 23, 2023
4a9b269
move least/greatest to conditional-functions
den-crane May 23, 2023
03bf6e0
Temporary update broken_tests.txt until #49135 is merged
Avogar May 23, 2023
885dea3
Switch to upstream repository of vectorscan
azat May 23, 2023
b6b9ccc
Merge pull request #50156 from den-crane/patch-68
evillique May 23, 2023
fbeba9b
Documentation
devcrafter May 23, 2023
e9c8652
Merge branch 'master' into fill_with_by_sorting_prefix_2
devcrafter May 23, 2023
889489b
Merge branch 'master' into space
rschu1ze May 23, 2023
3e1267c
Merge pull request #50152 from ClickHouse/tavplubix-patch-6
alexey-milovidov May 23, 2023
da59d8a
Speed-up the shellcheck with parallel xargs
Felixoid May 23, 2023
3edffa3
add examples
DanRoscigno May 23, 2023
4808046
add description
DanRoscigno May 23, 2023
2b48a48
Merge pull request #50151 from ClickHouse/Avogar-patch-1
robot-ch-test-poll2 May 24, 2023
32ffa2a
Merge pull request #50159 from azat/bump-vectorscan
rschu1ze May 24, 2023
0df4164
Merge remote-tracking branch 'origin/master' into cluster_discovery
LiuYangkuan May 24, 2023
3f892ce
Merge pull request #49816 from bigo-sg/grace_hash_reserve_hash_table
vdimir May 24, 2023
91eb3ad
fix clang-tidy build
kssenii May 24, 2023
486153d
Update MergeTreeData.cpp
tavplubix May 24, 2023
9545100
Merge pull request #45427 from attack204/urlCluster
Avogar May 24, 2023
ffdd916
Merge pull request #50180 from ClickHouse/tavplubix-patch-6
tavplubix May 24, 2023
2f5ed81
Merge branch 'master' into fill_with_by_sorting_prefix_2
devcrafter May 24, 2023
2255b02
Add 'partitions' field for system.query_log
helifu May 8, 2023
e138289
Test the 'partitions' field of system.query_log
helifu May 16, 2023
8807454
small update for test case
helifu May 17, 2023
4724745
Add the 'partitions' field description in docs
helifu May 17, 2023
c53bdc6
Merge branch 'master' into polygon-docs
DanRoscigno May 24, 2023
7c0c49c
Merge pull request #50154 from hanfei1991/hanfei/fix-modify-order-by
alesapin May 24, 2023
c2f6999
Merge pull request #50157 from den-crane/Doc/greatest_least
DanRoscigno May 24, 2023
9082e7f
Merge branch 'master' into url-function-docs
DanRoscigno May 24, 2023
07eedc8
Fix
kssenii May 24, 2023
62208fe
Add a new line to the reference file
helifu May 24, 2023
f76f989
Implement a uniform way to query processor core IDs
ltrk2 May 24, 2023
8a00be6
Update index.md
den-crane May 24, 2023
99adef6
Merge pull request #50111 from tsolodov/url-function-docs
DanRoscigno May 24, 2023
de0a074
Don't replicate delete through DDL worker if there is just 1 shard
davenger May 24, 2023
c5b5214
Merge pull request #50191 from den-crane/patch-69
DanRoscigno May 24, 2023
9f349e2
add params
DanRoscigno May 24, 2023
9b014eb
Merge pull request #49512 from DanRoscigno/polygon-docs
DanRoscigno May 24, 2023
d4927e4
add docs
DanRoscigno May 24, 2023
2ac600b
Merge pull request #50194 from DanRoscigno/zstd_window_max_docs
DanRoscigno May 24, 2023
2a3362e
Implement encrypted disk transaction and fix shared merge tree with e…
alesapin May 24, 2023
0219f78
Testing algolia index
DanRoscigno May 24, 2023
e5d6c90
Merge pull request #50201 from ClickHouse/DanRoscigno-patch-5
DanRoscigno May 24, 2023
8df7a69
Automatic backports of important fixes to cloud-release
pufit May 23, 2023
5676a2c
Small refactoring of encrypted disk
alesapin May 24, 2023
4a4246a
Dedup
alesapin May 24, 2023
8875b98
Added default value for `--from-repo` arg
pufit May 24, 2023
1c627fb
Fxi
alesapin May 24, 2023
3e69648
Fxi moar
alesapin May 24, 2023
13aebae
Merge pull request #50202 from ClickHouse/cherry-pick-to-cloud
Felixoid May 24, 2023
026a15d
Update dns_max_consecutive_failures docs (#50196)
DanRoscigno May 24, 2023
62fc5bb
get detailed error instead of unknown result
SuzyWangIBMer May 24, 2023
49afecc
Merge branch 'master' into fvt_unknown_result
SuzyWangIBMer May 24, 2023
034a8bd
Fix: typo in last_value.md (#50148)
Sorck May 24, 2023
2c0c1ba
add comments to build reports (#50200)
tavplubix May 24, 2023
8996fcb
Merge pull request #50193 from ClickHouse/fix_for_replicate_delete
davenger May 24, 2023
2e17503
Merge pull request #50187 from kssenii/fix-pg-source
kssenii May 24, 2023
e117347
Attempt to fix codebrowser with using clang-15
Felixoid May 24, 2023
a9d5b68
Merge pull request #50197 from ClickHouse/fix-codebrowser
Felixoid May 24, 2023
773a5bb
Optimize predicate with toYear converter
ZhiguoZh May 19, 2023
802b63f
Add 'initial_query_id' field for system.processors_profile_log
helifu May 11, 2023
515d30c
Add test case.
helifu May 17, 2023
cb130a1
Add a new line to the reference file
helifu May 24, 2023
1bc4eb1
OptimizeDateFilterVisitor: Revise variable names for clarity
ZhiguoZh May 25, 2023
9582d9e
Fix UB for INTO OUTFILE extensions (APPEND / AND STDOUT)
azat May 25, 2023
c053d75
Fix formatting of INTO OUTFILE extensions (APPEND / AND STDOUT)
azat May 25, 2023
b30cfe5
Fix UB in ASTWatchQuery for is_watch_events
azat May 25, 2023
b680697
Initialize POD members of ASTs to make it less error-prone
azat May 25, 2023
2651330
README.md: Remove Berlin Meetup from upcoming events
rschu1ze May 25, 2023
a06777c
Merge pull request #50218 from rschu1ze/readme-update
rschu1ze May 25, 2023
8a7c4be
Merge branch 'master' into transactions_for_encrypted_disk
alesapin May 25, 2023
4f5cf65
Minor adjustment of clickhouse-client/local parameter docs
rschu1ze May 25, 2023
1b32348
Merge pull request #50219 from rschu1ze/docs/client-doc-parameter
rschu1ze May 25, 2023
e4c8c4c
Add zookeeper name in endpoint id (#49780)
helifu May 25, 2023
b2c9611
Fix build
alesapin May 25, 2023
1c0b02c
Merge pull request #49503 from ClickHouse/fill_with_by_sorting_prefix_2
devcrafter May 25, 2023
3329a84
Merge pull request #49779 from helifu/master3
CheSema May 25, 2023
23f894b
Merge pull request #49777 from helifu/master1
CheSema May 25, 2023
5b76ab4
Fix build
alesapin May 25, 2023
2df4130
Update src/Interpreters/ClusterDiscovery.cpp
vdimir May 25, 2023
ce99825
Fix skipping spaces at end of row in CustomSeparatedIgnoreSpaces format
Avogar May 25, 2023
55c2dbc
Merge pull request #50062 from ZhiguoZh/20230511-toyear
hanfei1991 May 25, 2023
32cb993
Update src/Common/AsyncLoader.h
serxa May 25, 2023
78c89da
Update src/Common/AsyncLoader.cpp
serxa May 25, 2023
8804dfd
Fix resizing
rschu1ze May 25, 2023
5c59d9a
Merge pull request #50164 from ClickHouse/optimize-style-check
Felixoid May 25, 2023
2df22d3
Merge branch 'master' into async-loader-workloads
serxa May 25, 2023
e3ce2f8
fix style
serxa May 25, 2023
1c3b673
Fixes for parallel replicas (#50195)
nikitamikhaylov May 25, 2023
b8d3e49
add `pool_id` out-of-bound checks
serxa May 25, 2023
f1a3c9c
Merge pull request #50109 from kssenii/abstract-async-prefetched-buffer
kssenii May 25, 2023
3ef6cb7
git-apply #50205
serxa May 25, 2023
0ca526c
Unify priorities: rework IO scheduling subsystem
serxa May 25, 2023
3fefacb
Fix
kssenii May 25, 2023
243207a
Update S3 sdk to v1.11.61 (#50037)
nickitat May 25, 2023
e94b0c8
Fix bug
alesapin May 25, 2023
e4c1e2f
Fix build while it's not failing locally
alesapin May 25, 2023
4ce7228
Fix URL in backport comment
pufit May 25, 2023
a014b4d
Merge pull request #50241 from ClickHouse/cherry-pick-url-fix
pufit May 25, 2023
eca0843
Fix macos build
rschu1ze May 25, 2023
c4f91a1
Merge branch 'master' into space
rschu1ze May 25, 2023
231d52d
Document system.build_options
rschu1ze May 25, 2023
8c4f0c7
Update SAMPLE clause documentation links
usernam3 May 25, 2023
de3b08a
Clean up regexp tree dictionary documentation
johanngan May 25, 2023
4f0aeee
fix more conflicts
serxa May 25, 2023
6b98e02
Update settings.md
den-crane May 25, 2023
612173e
refactoring near alter conversions
CurtizJ May 25, 2023
b3a96de
Pure parallel replicas: JOIN support (#49544)
Algunenano May 25, 2023
0776e20
Merge branch 'master' into patch-26
den-crane May 25, 2023
09d7512
Merge pull request #50248 from rschu1ze/document-system-build_options
robot-ch-test-poll3 May 25, 2023
0805191
Update named-collections.md
den-crane May 26, 2023
767193c
Merge branch 'master' into keeper-log-improvements
antonio2368 May 26, 2023
c6c4ded
Fixes for WITH FILL grouped by sorting prefix
devcrafter May 26, 2023
e2a5acb
Merge branch 'master' into space
rschu1ze May 26, 2023
27617fb
Merge pull request #50216 from azat/fix-asts
alexey-milovidov May 26, 2023
d14dafc
Merge pull request #50103 from rschu1ze/space
rschu1ze May 26, 2023
0d0e53e
Update distributed.md
anvaari May 26, 2023
bdf1c54
Merge branch 'master' into transactions_for_encrypted_disk
alesapin May 26, 2023
3d98e59
Handle backwards compatibility
antonio2368 May 26, 2023
a956947
fix typo
antonio2368 May 26, 2023
e71bb1c
Merge pull request #50206 from ClickHouse/transactions_for_encrypted_…
alesapin May 26, 2023
4ba6251
Merge pull request #50262 from anvaari/doc/fix-broken-links
robot-clickhouse-ci-2 May 26, 2023
5be4733
Merge pull request #50258 from den-crane/patch-27
evillique May 26, 2023
f9c7fcb
Merge branch 'master' into useless-refactoring
CurtizJ May 26, 2023
3635a7b
Merge pull request #50261 from ClickHouse/fix-doc-with-fill-by-sortin…
qoega May 26, 2023
9603f2b
Merge pull request #50190 from ClibMouse/feature/unify-core-id-querying
CheSema May 26, 2023
349c92c
Merge branch 'master' into patch-26
den-crane May 26, 2023
0d1f2e2
Unify priorities: lower value means higher priority (#50205)
serxa May 26, 2023
3ef04ad
Doc. clarify dns_max_consecutive_failures one more time (#50212)
den-crane May 26, 2023
4c218f2
Upgrade boost submodule (#50188)
ltrk2 May 26, 2023
640ada6
Merge branch 'master' into inverse-io-scheduler-priority-3
serxa May 26, 2023
8420334
Merge branch 'master' into async-loader-workloads
serxa May 26, 2023
b9ef515
Update settings.md
den-crane May 26, 2023
c57fa9d
Docs: Add PostgreSQL and ODBC related settings
evillique May 26, 2023
4bdce2a
Fix test for new analyzer
antonio2368 May 26, 2023
edffedb
fix
serxa May 26, 2023
6554e74
Merge pull request #49893 from ClickHouse/async-loader-workloads
serxa May 26, 2023
6b5933a
Add new profile events for queries with subqueries
azat May 24, 2023
c4687a8
Unify priorities: rework AsyncLoader
serxa May 26, 2023
4249bda
s3_max_inflight_parts_for_one_file with tests
CheSema May 17, 2023
206efee
add test with merge tree table
CheSema May 21, 2023
0b781bd
fix test_merge_canceled_by_s3_errors
CheSema May 21, 2023
7031796
fixing tests
CheSema May 22, 2023
b0eff95
update doc, add profile event WriteBufferFromS3WaitInflightLimitMicro…
CheSema May 24, 2023
7c9d2ab
working with review comments
CheSema May 26, 2023
8523cd5
working with review comments
CheSema May 26, 2023
1588219
comments
CheSema May 26, 2023
86f85d7
cope with finalize in d-tors
CheSema May 26, 2023
9da34f2
Merge pull request #50256 from den-crane/patch-26
DanRoscigno May 27, 2023
2e34700
Fix 02765_queries_with_subqueries_profile_events for Analyzer check
azat May 27, 2023
0e2156c
Fix checksum calculation for backup entries (#50264)
vitlibar May 27, 2023
5de6dc8
Merge branch 'master' into usernam3-sample-clause-links-fix
nikitamikhaylov May 27, 2023
90a6437
Support custom 'order by' expression for system log tables
helifu May 11, 2023
03e11b6
Remove the duplicate pair of parentheses
helifu May 16, 2023
57e5a4a
Add the 'order_by' description for system log tables
helifu May 16, 2023
59a815e
Update according to review comments
helifu May 17, 2023
4013ec9
Add test case for 'order_by' configuration
helifu May 17, 2023
6e8136e
Add 'settings' expression for system log tables
helifu May 18, 2023
01158e7
Add test case for 'engine','settings' configuration
helifu May 18, 2023
780e9df
fix the config file name
helifu May 22, 2023
b2d7a48
fix a style checking issue
helifu May 24, 2023
e98cd5d
Fix failed test cases
helifu May 25, 2023
1d1d844
Fix a style checking issue
helifu May 25, 2023
6a64fa6
Node2 cannot be started due to a conflict with config.xml merge
helifu May 26, 2023
7c3fa36
fix a style checking issue
helifu May 26, 2023
e9ffc38
Add input parameter 'base_config_dir'
helifu May 27, 2023
ec82c65
Parallel merge of uniqExactIf states
ucasfl May 28, 2023
7ef20bb
Function equals NaN fix
kitaisreal May 28, 2023
05783f9
update test
ucasfl May 28, 2023
c970266
Updated tests
kitaisreal May 28, 2023
e0563b9
Fix 02767_into_outfile_extensions_msan under analyzer
azat May 28, 2023
e9840bc
JIT aggregation nullable key fix
kitaisreal May 28, 2023
274fc46
Merge pull request #49004 from ClickHouse/keeper-log-improvements
alesapin May 28, 2023
3a3cee5
Merge pull request #50257 from CurtizJ/useless-refactoring
alesapin May 28, 2023
1bf32f7
Merge branch 'master' into fix-iceberg
alesapin May 28, 2023
e1d535c
Merge pull request #50287 from kitaisreal/function-equals-nan-fix
alexey-milovidov May 28, 2023
9647cfa
Merge pull request #50291 from kitaisreal/jit-aggregation-nullable-ke…
alexey-milovidov May 28, 2023
9b72607
Merge pull request #50290 from azat/tests/fix-02767_into_outfile_exte…
alexey-milovidov May 28, 2023
1875a93
Merge pull request #50224 from Avogar/fix-custom-separated-ignore-spaces
alexey-milovidov May 28, 2023
8c95461
Merge pull request #50249 from usernam3/usernam3-sample-clause-links-fix
alexey-milovidov May 28, 2023
d2f4b4d
Merge pull request #50250 from johanngan/regexptree-doc-tweaks
robot-ch-test-poll May 29, 2023
ef7e9e2
Merge pull request #50231 from ClickHouse/inverse-io-scheduler-priori…
alexey-milovidov May 29, 2023
53de761
Merge pull request #50272 from ClickHouse/inverse-async-loader-priority
alexey-milovidov May 29, 2023
f616314
fix typo
ucasfl May 29, 2023
758beda
Merge branch 'master' into uniqExactIf
ucasfl May 29, 2023
1821933
Fix a typo
helifu May 29, 2023
f0ed55b
QPL: Add a comment about isal
rschu1ze May 29, 2023
a3ca8f9
Merge pull request #50308 from rschu1ze/isal-cmake-comment
rschu1ze May 29, 2023
47daaad
Merge pull request #49778 from helifu/master2
rschu1ze May 29, 2023
806ef08
Merge pull request #50306 from helifu/master1
hanfei1991 May 29, 2023
1ae1f12
Avoid clang 15 crash
Algunenano May 29, 2023
bdb974a
Fix flaky `AsyncLoader.StaticPriorities` unit test
serxa May 29, 2023
6b7e2a0
Merge pull request #49961 from CheSema/mem-consumption-s3-write
alesapin May 29, 2023
df14ec4
Merge branch 'master' into clang15_crash
serxa May 29, 2023
355f917
Update src/Common/tests/gtest_async_loader.cpp
serxa May 29, 2023
c26b3b3
Merge branch 'master' into fix-flaky-async-loader-test
serxa May 29, 2023
0a42adf
Merge pull request #50310 from Algunenano/clang15_crash
serxa May 29, 2023
688f23b
Merge pull request #50313 from ClickHouse/fix-flaky-async-loader-test
serxa May 29, 2023
87d6564
Update gtest_async_loader.cpp
nickitat May 29, 2023
12ca383
Merge pull request #50317 from ClickHouse/nickitat-patch-11
alexey-milovidov May 29, 2023
3cc9fea
Merge pull request #50285 from ucasfl/uniqExactIf
alexey-milovidov May 29, 2023
32d4221
Merge pull request #50270 from ClickHouse/evillique-patch-1
alexey-milovidov May 29, 2023
701e2fb
Merge pull request #50242 from ClickHouse/fix-max-parallel-replicas-c…
alexey-milovidov May 29, 2023
a278d13
Update first_value.md:remove redundant 's'
savezed May 30, 2023
f2172ab
Merge pull request #46661 from ClickHouse/42192_Lower_parallel_parsin…
SmitaRKulkarni May 30, 2023
6ee3740
Merge pull request #50331 from savezed/patch-1
alexey-milovidov May 30, 2023
bb2acb5
Merge pull request #50186 from LiuYangkuan/support_fqdn_in_cluster_di…
antonio2368 May 30, 2023
c9a079c
Merge pull request #50207 from ClibMouse/fvt_unknown_result
CheSema May 30, 2023
84d6bfe
Merge pull request #50204 from azat/InsertSelectQueries-pe
CheSema May 30, 2023
308db67
Update environmental-sensors.md
rfraposa May 30, 2023
56ca817
Merge pull request #50348 from ClickHouse/sensordata-fix
rfraposa May 30, 2023
060d011
Update merge-tree-settings.md
den-crane May 30, 2023
7966fa2
Merge pull request #50034 from Avogar/fiber-local-var-2
Avogar May 30, 2023
cfa3fbf
add .md extensions
DanRoscigno May 30, 2023
8d6244e
Docs: Explain non-production / advanced install options in more detail
rschu1ze May 30, 2023
e0759ef
Remove install scripts superseded by universal.sh
rschu1ze May 30, 2023
536c4a9
Fix clickhouse-local crashing when writing empty Arrow or Parquet output
al13n321 May 29, 2023
d7002f8
Incorporate Dan's feedback
rschu1ze May 30, 2023
55b2e42
Merge pull request #50232 from kssenii/fix-iceberg
kssenii May 30, 2023
7b01fb2
Merge branch 'master' into patch-28
den-crane May 30, 2023
ff58849
Merge pull request #50352 from den-crane/patch-28
DanRoscigno May 30, 2023
3bc4d11
Merge pull request #50359 from rschu1ze/docs-advanced-install
DanRoscigno May 31, 2023
bf80f8d
Merge pull request #50360 from rschu1ze/remove-obsolete-install-scripts
robot-clickhouse May 31, 2023
a01e864
Settings update (#50350)
DanRoscigno May 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ConstructorInitializerAllOnOneLineOrOnePerLine: true
ExperimentalAutoDetectBinPacking: true
UseTab: Never
TabWidth: 4
IndentWidth: 4
Standard: Cpp11
PointerAlignment: Middle
MaxEmptyLinesToKeep: 2
Expand Down
10 changes: 5 additions & 5 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Checks: '*,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-narrowing-conversions,
-bugprone-not-null-terminated-result,
-bugprone-reserved-identifier,
-bugprone-reserved-identifier, # useful but too slow, TODO retry when https://reviews.llvm.org/rG1c282052624f9d0bd273bde0b47b30c96699c6c7 is merged
-bugprone-unchecked-optional-access,
-cert-dcl16-c,
Expand Down Expand Up @@ -111,6 +111,7 @@ Checks: '*,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-confusable-identifiers, # useful but slooow
-misc-use-anonymous-namespace,
-modernize-avoid-c-arrays,
-modernize-concat-nested-namespaces,
Expand All @@ -136,7 +137,7 @@ Checks: '*,
-readability-function-cognitive-complexity,
-readability-function-size,
-readability-identifier-length,
-readability-identifier-naming,
-readability-identifier-naming, # useful but too slow
-readability-implicit-bool-conversion,
-readability-isolate-declaration,
-readability-magic-numbers,
Expand All @@ -148,7 +149,7 @@ Checks: '*,
-readability-uppercase-literal-suffix,
-readability-use-anyofallof,
-zirkon-*,
-zircon-*,
'

WarningsAsErrors: '*'
Expand All @@ -168,11 +169,10 @@ CheckOptions:
readability-identifier-naming.ParameterPackCase: lower_case
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateTemplateParameterCase: CamelCase
readability-identifier-naming.TemplateUsingCase: lower_case
readability-identifier-naming.TemplateParameterCase: lower_case
readability-identifier-naming.TypeTemplateParameterCase: CamelCase
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.UnionCase: CamelCase
readability-identifier-naming.UsingCase: CamelCase
modernize-loop-convert.UseCxx20ReverseRanges: false
performance-move-const-arg.CheckTriviallyCopyableMove: false
# Workaround clang-tidy bug: https://github.com/llvm/llvm-project/issues/46097
Expand Down
16 changes: 16 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Diagnostics:
# clangd does parse .clang-tidy, but some checks are too slow to run in
# clang-tidy build, so let's enable them explicitly for clangd at least.
ClangTidy:
# The following checks had been disabled due to slowliness with C++23,
# for more details see [1].
#
# [1]: https://github.com/llvm/llvm-project/issues/61418
#
# But the code base had been written in a style that had been checked
# by this check, so at least, let's enable it for clangd.
Add: [
# configured in .clang-tidy
readability-identifier-naming,
bugprone-reserved-identifier,
]
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
A technical comment, you are free to remove or leave it as it is when PR is created
The following categories are used in the next scripts, update them accordingly
utils/changelog/changelog.py
tests/ci/run_check.py
tests/ci/cancel_and_rerun_workflow_lambda/app.py
-->
### Changelog category (leave one):
- New Feature
- Improvement
- Bug Fix (user-visible misbehavior in an official stable release)
- Performance Improvement
- Backward Incompatible Change
- Build/Testing/Packaging Improvement
- Documentation (changelog entry is not required)
- Bug Fix (user-visible misbehavior in an official stable release)
- Not for changelog (changelog entry is not required)


Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,40 @@ jobs:
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseAnalyzer:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
steps:
- name: Set envs
run: |
cat >> "$GITHUB_ENV" << 'EOF'
TEMP_PATH=${{runner.temp}}/stateless_analyzer
REPORTS_PATH=${{runner.temp}}/reports_dir
CHECK_NAME=Stateless tests (release, analyzer)
REPO_COPY=${{runner.temp}}/stateless_analyzer/ClickHouse
KILL_TIMEOUT=10800
EOF
- name: Download json reports
uses: actions/download-artifact@v3
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Functional test
run: |
sudo rm -fr "$TEMP_PATH"
mkdir -p "$TEMP_PATH"
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
cd "$REPO_COPY/tests/ci"
python3 functional_test_check.py "$CHECK_NAME" "$KILL_TIMEOUT"
- name: Cleanup
if: always()
run: |
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestAarch64:
needs: [BuilderDebAarch64]
runs-on: [self-hosted, func-tester-aarch64]
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
with:
name: changed_images
path: ${{ runner.temp }}/changed_images.json
Codebrowser:
needs: [DockerHubPush]
uses: ./.github/workflows/woboq.yml
BuilderCoverity:
needs: DockerHubPush
runs-on: [self-hosted, builder]
Expand Down Expand Up @@ -125,8 +128,8 @@ jobs:
SONAR_SCANNER_VERSION: 4.8.0.2856
SONAR_SERVER_URL: "https://sonarcloud.io"
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed
CC: clang-15
CXX: clang++-15
CC: clang-16
CXX: clang++-16
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
Expand Down
73 changes: 73 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,40 @@ jobs:
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseAnalyzer:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
steps:
- name: Set envs
run: |
cat >> "$GITHUB_ENV" << 'EOF'
TEMP_PATH=${{runner.temp}}/stateless_analyzer
REPORTS_PATH=${{runner.temp}}/reports_dir
CHECK_NAME=Stateless tests (release, analyzer)
REPO_COPY=${{runner.temp}}/stateless_analyzer/ClickHouse
KILL_TIMEOUT=10800
EOF
- name: Download json reports
uses: actions/download-artifact@v3
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
with:
clear-repository: true
- name: Functional test
run: |
sudo rm -fr "$TEMP_PATH"
mkdir -p "$TEMP_PATH"
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
cd "$REPO_COPY/tests/ci"
python3 functional_test_check.py "$CHECK_NAME" "$KILL_TIMEOUT"
- name: Cleanup
if: always()
run: |
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
sudo rm -fr "$TEMP_PATH"
FunctionalStatelessTestReleaseS3_0:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
Expand Down Expand Up @@ -4755,6 +4789,7 @@ jobs:
- FunctionalStatelessTestReleaseDatabaseReplicated2
- FunctionalStatelessTestReleaseDatabaseReplicated3
- FunctionalStatelessTestReleaseWideParts
- FunctionalStatelessTestReleaseAnalyzer
- FunctionalStatelessTestAarch64
- FunctionalStatelessTestAsan0
- FunctionalStatelessTestAsan1
Expand Down Expand Up @@ -4846,3 +4881,41 @@ jobs:
cd "$GITHUB_WORKSPACE/tests/ci"
python3 finish_check.py
python3 merge_pr.py --check-approved
##############################################################################################
########################### SQLLOGIC TEST ###################################################
##############################################################################################
SQLLogicTestRelease:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
steps:
- name: Set envs
run: |
cat >> "$GITHUB_ENV" << 'EOF'
TEMP_PATH=${{runner.temp}}/sqllogic_debug
REPORTS_PATH=${{runner.temp}}/reports_dir
CHECK_NAME=Sqllogic test (release)
REPO_COPY=${{runner.temp}}/sqllogic_debug/ClickHouse
KILL_TIMEOUT=10800
EOF
- name: Download json reports
uses: actions/download-artifact@v2
with:
path: ${{ env.REPORTS_PATH }}
- name: Clear repository
run: |
sudo rm -fr "$GITHUB_WORKSPACE" && mkdir "$GITHUB_WORKSPACE"
- name: Check out repository code
uses: actions/checkout@v2
- name: Sqllogic test
run: |
sudo rm -fr "$TEMP_PATH"
mkdir -p "$TEMP_PATH"
cp -r "$GITHUB_WORKSPACE" "$TEMP_PATH"
cd "$REPO_COPY/tests/ci"
python3 sqllogic_test.py "$CHECK_NAME" "$KILL_TIMEOUT"
- name: Cleanup
if: always()
run: |
docker ps --quiet | xargs --no-run-if-empty docker kill ||:
docker ps --all --quiet | xargs --no-run-if-empty docker rm -f ||:
sudo rm -fr "$TEMP_PATH"
7 changes: 5 additions & 2 deletions .github/workflows/woboq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ env:
concurrency:
group: woboq
on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 */18 * * *'
workflow_dispatch:
workflow_call:
jobs:
# don't use dockerhub push because this image updates so rarely
WoboqCodebrowser:
Expand All @@ -26,6 +25,10 @@ jobs:
with:
clear-repository: true
submodules: 'true'
- name: Download json reports
uses: actions/download-artifact@v3
with:
path: ${{ env.IMAGES_PATH }}
- name: Codebrowser
run: |
sudo rm -fr "$TEMP_PATH"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ website/package-lock.json
/.ccls-cache

# clangd cache
/.clangd
/.cache

/compile_commands.json
Expand Down
11 changes: 10 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
url = https://github.com/ClickHouse/nats.c
[submodule "contrib/vectorscan"]
path = contrib/vectorscan
url = https://github.com/VectorCamp/vectorscan
url = https://github.com/VectorCamp/vectorscan.git
[submodule "contrib/c-ares"]
path = contrib/c-ares
url = https://github.com/ClickHouse/c-ares
Expand Down Expand Up @@ -296,6 +296,9 @@
[submodule "contrib/libdivide"]
path = contrib/libdivide
url = https://github.com/ridiculousfish/libdivide
[submodule "contrib/libbcrypt"]
path = contrib/libbcrypt
url = https://github.com/rg3/libbcrypt.git
[submodule "contrib/ulid-c"]
path = contrib/ulid-c
url = https://github.com/ClickHouse/ulid-c.git
Expand Down Expand Up @@ -335,3 +338,9 @@
[submodule "contrib/liburing"]
path = contrib/liburing
url = https://github.com/axboe/liburing
[submodule "contrib/libfiu"]
path = contrib/libfiu
url = https://github.com/ClickHouse/libfiu.git
[submodule "contrib/isa-l"]
path = contrib/isa-l
url = https://github.com/ClickHouse/isa-l.git
Loading