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

Expose a private method in aggregator #467

Open
wants to merge 418 commits into
base: rebase_ch/20231117
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
803d966
Merge branch 'master' into keeper-map-backup-restore
antonio2368 Nov 17, 2023
9bcedf3
Cleanup
antonio2368 Nov 17, 2023
4f441ec
Own CMake for Abseil
alexey-milovidov Nov 17, 2023
0548eef
Simpler CMake
alexey-milovidov Nov 17, 2023
74a8f31
Update HTTPSession.cpp
CheSema Nov 17, 2023
3322f54
Merge branch 'master' into remove-unused-code
kssenii Nov 17, 2023
d035e5f
Improve diagnostics in test 02908_many_requests_to_system_replicas
davenger Nov 16, 2023
e0effce
Merge pull request #56677 from ClickHouse/remove-unused-code
kssenii Nov 17, 2023
c20f27c
Merge pull request #56870 from ClickHouse/kssenii-patch-6
kssenii Nov 17, 2023
6c3793a
Allow delegate disk to handle retries for createDirectories
davenger Nov 17, 2023
cdfc0e0
Update version_date.tsv and changelogs after v23.10.4.25-stable
robot-clickhouse Nov 17, 2023
c695405
Update version_date.tsv and changelogs after v23.3.17.13-lts
robot-clickhouse Nov 17, 2023
09b3f5e
Update version_date.tsv and changelogs after v23.8.7.24-lts
robot-clickhouse Nov 17, 2023
af2f06d
Update version_date.tsv and changelogs after v23.9.5.29-stable
robot-clickhouse Nov 17, 2023
d6fdfdd
Remove outdated instructions
alexey-milovidov Nov 17, 2023
9523bd0
Fix config
kssenii Nov 17, 2023
894fb21
Merge pull request #56909 from ClickHouse/auto/v23.9.5.29-stable
alexey-milovidov Nov 17, 2023
df6cd11
Merge pull request #56906 from ClickHouse/auto/v23.10.4.25-stable
alexey-milovidov Nov 17, 2023
131050a
Merge pull request #56908 from ClickHouse/auto/v23.8.7.24-lts
alexey-milovidov Nov 17, 2023
117930f
Merge pull request #56907 from ClickHouse/auto/v23.3.17.13-lts
alexey-milovidov Nov 17, 2023
216450e
Some tasks are done
alexey-milovidov Nov 17, 2023
86119db
fix data race
CheSema Nov 17, 2023
b2dc5ad
Fix tryDecodeBase64() with invalid input
rschu1ze Nov 17, 2023
318c7a0
Avoid dependencies with no fixed versions
alexey-milovidov Nov 17, 2023
7c4998e
Merge pull request #56911 from ClickHouse/remove-outdated-instructions
alexey-milovidov Nov 17, 2023
45b6956
Fix race on zk_log
davenger Nov 17, 2023
882d0d1
Merge remote-tracking branch 'rschu1ze/master' into bump-grpc-and-pro…
rschu1ze Nov 17, 2023
1d5bc13
Check what will happen if I remove some lines
alexey-milovidov Nov 17, 2023
967b992
Merge pull request #56853 from rschu1ze/bump-grpc-and-protobuf
rschu1ze Nov 17, 2023
2f696c1
Merge pull request #56894 from ClickHouse/remove-ctest
alexey-milovidov Nov 17, 2023
2a9d05e
Remove more lines
alexey-milovidov Nov 17, 2023
354fb51
Remove some code that I don't understand
alexey-milovidov Nov 17, 2023
a3083f3
Remove more code that I don't understand
alexey-milovidov Nov 17, 2023
215cd7b
Update build.sh
alexey-milovidov Nov 17, 2023
19dd29e
Update Dockerfile
alexey-milovidov Nov 17, 2023
fc793fe
Merge pull request #56120 from kitaisreal/window-functions-decrease-a…
Algunenano Nov 17, 2023
5f9db3b
Merge pull request #56794 from ClickHouse/early-exit-interserver-auth…
alexey-milovidov Nov 17, 2023
ea3cd71
Update Dockerfile
alexey-milovidov Nov 17, 2023
d504ad6
Merge remote-tracking branch 'origin' into concat-arbitrary-types
slvrtrn Nov 17, 2023
b42db2e
Update fasttest
alexey-milovidov Nov 17, 2023
9eb0b74
Update Dockerfile
alexey-milovidov Nov 17, 2023
5f45e4a
Merge pull request #56821 from ClickHouse/remove/unnecessary-ru-text
johnnymatthews Nov 17, 2023
332e7f5
Fix concat tests
slvrtrn Nov 17, 2023
9b9b0a0
Merge branch 'master' into simpler-cmake
alexey-milovidov Nov 17, 2023
571a35c
Make some tests independent on macro settings
Algunenano Nov 17, 2023
7074bdb
Merge remote-tracking branch 'blessed/master' into access-control-and…
Algunenano Nov 17, 2023
01000e8
Merge with master
alexey-milovidov Nov 17, 2023
2fe4d07
Merge pull request #56919 from ClickHouse/update-fasttest
alexey-milovidov Nov 17, 2023
4d5becb
Adapt test_storage_s3/test.py::test_predefined_connection_configuration
Algunenano Nov 17, 2023
7b9b790
Merge branch 'simpler-cmake' of github.com:ClickHouse/ClickHouse into…
alexey-milovidov Nov 17, 2023
b102c8e
Merge branch 'master' into planner-support-transactions
KochetovNicolai Nov 17, 2023
a530d8c
Fix flaky test #56926
rschu1ze Nov 17, 2023
dd626d5
Fix perf tests report when there are no tests (#56881)
tavplubix Nov 17, 2023
5ca8419
Merge branch 'master' into filecache-call-assertions-more-often
kssenii Nov 17, 2023
6d5a5f9
buffer result if out copacity is not enough
CheSema Nov 17, 2023
29e6434
improve exception message
CheSema Nov 17, 2023
6366819
Fix generating deep nested columns in CapnProto/Protobuf schemas
Avogar Nov 17, 2023
fcce540
Simplify
rschu1ze Nov 16, 2023
c51429b
Simplify more
rschu1ze Nov 16, 2023
20bdec6
Merge pull request #56914 from ClickHouse/mac-no-supply-chain-attack
alexey-milovidov Nov 17, 2023
30bd564
Merge branch 'master' into remove-useless-part-from-build
alexey-milovidov Nov 17, 2023
283af96
Merge branch 'master' into simpler-cmake
alexey-milovidov Nov 17, 2023
6414cef
Merge pull request #56916 from ClickHouse/remove-useless-part-from-build
alexey-milovidov Nov 18, 2023
32b4d6c
Merge pull request #56619 from ClickHouse/access-control-and-named-co…
alexey-milovidov Nov 18, 2023
96fa21f
Merge pull request #56869 from ClickHouse/debug_02908
davenger Nov 18, 2023
f7731d5
Merge pull request #56915 from ClickHouse/fix_zk_log_race
davenger Nov 18, 2023
8c6ed7f
Merge pull request #56898 from ClickHouse/simpler-cmake
alexey-milovidov Nov 18, 2023
3828131
Merge pull request #56828 from evillique/fix-joinget-dependency
evillique Nov 18, 2023
f6d7b30
Merge pull request #56825 from evillique/fix-set-query-formatting
evillique Nov 18, 2023
a18b715
Fix a bug
evillique Nov 18, 2023
4353507
Merge pull request #56540 from slvrtrn/concat-arbitrary-types
rschu1ze Nov 18, 2023
2efa5ab
Merge pull request #56331 from ucasfl/alter
alexey-milovidov Nov 18, 2023
0158db3
Merge pull request #56092 from ClickHouse/docs-max-block-size
alexey-milovidov Nov 18, 2023
74319b5
Merge pull request #56082 from Algunenano/less_diff_images
alexey-milovidov Nov 18, 2023
773715a
finalize tmp_out
CheSema Nov 18, 2023
7a99497
Merge pull request #56913 from rschu1ze/trydecodebase64-invalid-input
rschu1ze Nov 18, 2023
cb91382
Merge pull request #56861 from rschu1ze/cpu_features
rschu1ze Nov 18, 2023
d1c56e3
Send fatal logs by default in clickhouse-local
evillique Nov 18, 2023
6eedd16
Resubmit: Better except for SSL authentication
evillique Nov 18, 2023
d56cbda
Add metrics for the number of queued jobs, which is useful for the IO…
alexey-milovidov Nov 18, 2023
9eaafff
Merge pull request #56715 from incfly/keeper-az-fix
antonio2368 Nov 18, 2023
274f2c7
Merge pull request #56460 from ClickHouse/keeper-map-backup-restore
antonio2368 Nov 18, 2023
593f04a
Fix style
alexey-milovidov Nov 18, 2023
75cebb3
Fix build
alexey-milovidov Nov 18, 2023
7c81d9b
Fix test_keeper_auth
antonio2368 Nov 18, 2023
053b20a
fix in_data pointer
CheSema Nov 18, 2023
c465933
Merge pull request #56808 from CheSema/retry-fetch-part
CheSema Nov 19, 2023
a894671
[Docs] Add perf tip for COUNT(DISTINCT expr)
justindeguzman Nov 19, 2023
96e8732
[Docs] Add insert_distributed_sync to Core Settings docs
justindeguzman Nov 19, 2023
5e1da38
[Docs] Add details on why partitions improve query perf
justindeguzman Nov 19, 2023
8062fb5
[Docs] Recommend ReplacingMergeTree for frequent updates
justindeguzman Nov 19, 2023
a398e3f
[Docs] Fix typo
justindeguzman Nov 19, 2023
f29777d
[Docs] More typos
justindeguzman Nov 19, 2023
9d3c62e
[Docs] Recommend against OPTIMIZE FINAL in OPTIMIZE page
justindeguzman Nov 19, 2023
0e8d966
Merge pull request #56964 from ClickHouse/docs-partitions-query-perf
robot-ch-test-poll Nov 19, 2023
9c720c7
Merge pull request #56963 from ClickHouse/docs-add-insert-distributed…
robot-ch-test-poll3 Nov 19, 2023
edc3b2f
Merge pull request #56958 from ClickHouse/metric-queued-jobs
alexey-milovidov Nov 19, 2023
4fa085d
Merge pull request #56965 from ClickHouse/docs-replacingmergetree-fre…
robot-ch-test-poll Nov 19, 2023
94ee358
Merge pull request #56935 from rschu1ze/unflake-qc-test
alexey-milovidov Nov 19, 2023
2f76b1a
Merge pull request #56966 from ClickHouse/docs-optimize-final
robot-clickhouse-ci-1 Nov 19, 2023
a55d50b
Merge pull request #53922 from ClickHouse/vdimir/filter_pushdown_cons…
alexey-milovidov Nov 19, 2023
097f806
Fewer concurrent requests in 02908_many_requests_to_system_replicas
davenger Nov 19, 2023
510ea11
Merge pull request #56423 from arthurpassos/56357_quotes_extract_kv
alexey-milovidov Nov 19, 2023
24fbe62
fix build
CheSema Nov 19, 2023
cacc23b
safe SinkToOut d-tor
CheSema Nov 19, 2023
a950595
Merge pull request #56314 from CheSema/s3-aggressive-timeouts
CheSema Nov 19, 2023
f27018c
Own CMake for GRPC
alexey-milovidov Nov 19, 2023
b117d8e
create interpreter with changed select_query_options
Michicosun Nov 19, 2023
3213443
Own CMake for GRPC
alexey-milovidov Nov 19, 2023
907f168
Own CMake for GRPC
alexey-milovidov Nov 19, 2023
44289c5
Merge pull request #56957 from evillique/resubmit-better-except
evillique Nov 19, 2023
ab234a8
Merge pull request #56960 from ClickHouse/fix-test_keeper_auth
antonio2368 Nov 19, 2023
cf46214
Always send fatal level logs
evillique Nov 19, 2023
b772189
Merge branch 'master' into own-cmake-for-grpc
alexey-milovidov Nov 19, 2023
9683adf
Merge pull request #56830 from evillique/better-add-column
evillique Nov 19, 2023
60a17ee
Fix build
rschu1ze Nov 19, 2023
4fc658c
Fix build
alexey-milovidov Nov 19, 2023
62a8766
Fix build
alexey-milovidov Nov 19, 2023
276de4a
Merge pull request #56974 from rschu1ze/fix-build
alexey-milovidov Nov 19, 2023
a3c9f13
Add exclude for tryBase64Decode to backward compat test (follow-up to…
rschu1ze Nov 19, 2023
d9a6096
Merge pull request #56927 from Algunenano/replica_tests
alexey-milovidov Nov 19, 2023
9367dcc
Merge pull request #56975 from rschu1ze/unflake-test_backward_compat
alexey-milovidov Nov 19, 2023
62d0d76
Merge pull request #56899 from den-crane/test/56790
alexey-milovidov Nov 19, 2023
fd26fab
Merge remote-tracking branch 'upstream/master' into local-send-fatal-log
evillique Nov 19, 2023
f37bb90
Merge pull request #56971 from ClickHouse/own-cmake-for-grpc
alexey-milovidov Nov 19, 2023
4bf3845
Merge pull request #56962 from ClickHouse/docs-count-distinct-perf-tip
robot-clickhouse-ci-1 Nov 19, 2023
b9a2802
Merge branch 'master' into test-rabbitmq-with-secure-connection
devcrafter Nov 19, 2023
7020177
Merge branch 'master' into pr-cleanup-remote-source
devcrafter Nov 19, 2023
85f88a7
Merge pull request #56968 from ClickHouse/debug_02908_2
davenger Nov 19, 2023
0513c93
Prefer sccache to ccache by default
devcrafter Nov 19, 2023
7e781ab
Merge remote-tracking branch 'origin/master' into prefer-sccache
devcrafter Nov 19, 2023
33df68c
update 02003_memory_limit_in_client.sh
bharatnc Nov 19, 2023
56d3109
Merge pull request #56981 from bharatnc/ncb/update-memory-limit-test
alexey-milovidov Nov 20, 2023
a69e87d
Merge pull request #56980 from devcrafter/prefer-sccache
alexey-milovidov Nov 20, 2023
241cc2a
Merge branch 'master' into remove-useless-install
alexey-milovidov Nov 20, 2023
d385217
One step back
alexey-milovidov Nov 20, 2023
b205d49
Remove garbage
alexey-milovidov Nov 20, 2023
f6e4c29
MaterializedMysql doc
melvynator Nov 20, 2023
6dc3efb
Fix build
alexey-milovidov Nov 20, 2023
ab5f3d1
Fix sqlite file path validation to make sure it does not skip validat…
santrancisco Nov 20, 2023
f05f572
Fixed trailing whitespace
santrancisco Nov 20, 2023
96c603e
[Docs] MaterializedPostgreSQL: Change DETACH to DETACH PERMANENTLY
czlee Nov 20, 2023
af0c954
Add implicit constraint for CollapsingMergeTree sign column
kevinmingtarja Nov 20, 2023
efc3323
Merge pull request #56983 from ClickHouse/materializedMysql-doc
robot-ch-test-poll1 Nov 20, 2023
e305bf6
Merge branch 'master' into fix_select_query_options_pass
Michicosun Nov 20, 2023
f059a55
Merge branch 'master' into fix_select_query_options_pass
Michicosun Nov 20, 2023
f9a8df4
Added comment to prevent using --remote to update submodules
AVMusorin Nov 16, 2023
5fc0e7f
Merge pull request #56767 from ClickHouse/test-rabbitmq-with-secure-c…
devcrafter Nov 20, 2023
ebb66c1
add comments
CheSema Nov 20, 2023
088022d
Add test
Algunenano Nov 20, 2023
4487485
Fix style
Algunenano Nov 20, 2023
857ce2d
Merge branch 'master' into implicit-constraint-collapsing-merged-tree
alesapin Nov 20, 2023
fb88c4d
Merge pull request #55980 from ClickHouse/pr-cleanup-remote-source
devcrafter Nov 20, 2023
10fb40e
Fix
kssenii Nov 20, 2023
1ade4b7
Add a comment
kssenii Nov 20, 2023
5ec6261
Merge pull request #56857 from AVMusorin/fix-update-submodules
rschu1ze Nov 20, 2023
c3a3cf8
Make check for the limited cmake dependencies the part of sparse chec…
Felixoid Nov 20, 2023
28bb76d
address review comments
vdimir Nov 20, 2023
779a897
Disable settings randomisation for `02896_memory_accounting_for_user.…
nickitat Nov 20, 2023
e71ca7d
Merge pull request #56985 from czlee/patch-1
robot-ch-test-poll Nov 20, 2023
aa07403
Make test 02918 executable
kevinmingtarja Nov 20, 2023
8c40555
Merge branch 'implicit-constraint-collapsing-merged-tree' of github.c…
kevinmingtarja Nov 20, 2023
06c6282
fix build
vdimir Nov 20, 2023
fafd169
Update src/IO/Lz4DeflatingWriteBuffer.cpp
CheSema Nov 20, 2023
fa5dc74
Merge pull request #56991 from ClickHouse/decouple-cmake-cleanup
Felixoid Nov 20, 2023
5031f23
Revert "s3 adaptive timeouts"
tavplubix Nov 20, 2023
535a75b
Merge pull request #56992 from ClickHouse/revert-56314-s3-aggressive-…
tavplubix Nov 20, 2023
f999337
Revert "Revert "s3 adaptive timeouts""
CheSema Nov 20, 2023
4c7daf5
Fix
kssenii Nov 20, 2023
56222dd
Merge pull request #56872 from ClickHouse/filecache-call-assertions-m…
kssenii Nov 20, 2023
7f30fb7
Merge pull request #56941 from Avogar/fix-auto-schema
Avogar Nov 20, 2023
a7fc8d4
test_merge_tree_s3 counts errors, turn off s3_use_adaptive_timeouts
CheSema Nov 20, 2023
0eaf83b
Merge pull request #56994 from ClickHouse/revert-56992-revert-56314-s…
tavplubix Nov 20, 2023
6da5194
Follow up the fix from #44311
Felixoid Nov 20, 2023
94824a0
Fix shellcheck for time-trace
Felixoid Nov 20, 2023
362c15d
Fix logging for profile JSON files
Felixoid Nov 20, 2023
8fef863
Fix flaky and slow tests.
amosbird Nov 20, 2023
8bff421
Skip test in fast tests
Algunenano Nov 20, 2023
59c251b
Allow to use concat with a single argument
slvrtrn Nov 20, 2023
9f96b58
Update docs, add more tests.
slvrtrn Nov 20, 2023
9b5e180
Fix
kssenii Nov 20, 2023
23ea802
Add more concat tests
slvrtrn Nov 20, 2023
d84d569
Enable implicit constraint for VersionedCollapsing
kevinmingtarja Nov 20, 2023
1d66826
Fix style
kevinmingtarja Nov 20, 2023
2a59a68
Merge pull request #56867 from kitaisreal/planner-support-transactions
KochetovNicolai Nov 20, 2023
d5a4580
Add newline in test reference
kevinmingtarja Nov 20, 2023
d348db8
Merge remote-tracking branch 'origin' into concat-single-arg
slvrtrn Nov 20, 2023
ff43811
Style
Algunenano Nov 20, 2023
897cd06
Fix dropping tables in test "test_create_or_drop_tables_during_backup".
vitlibar Nov 20, 2023
2beee5d
Merge branch 'master' into s3queue-fix-empty-key-check
kssenii Nov 20, 2023
9454b20
Merge branch 'master' into kssenii-patch-8
kssenii Nov 20, 2023
485f183
Merge pull request #56938 from CheSema/lz4-buffering
CheSema Nov 20, 2023
adce0f7
Merge pull request #56989 from ClickHouse/fix-search-build-artifacts
Felixoid Nov 20, 2023
852e983
Follow-up
alexey-milovidov Nov 20, 2023
6a1955c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove…
alexey-milovidov Nov 20, 2023
3c2cf5d
Enable Analyzer in Stress and Fuzz tests
alexey-milovidov Nov 20, 2023
0de18bf
Merge pull request #56972 from Michicosun/fix_select_query_options_pass
alexey-milovidov Nov 20, 2023
ff6dfd2
Run CI for PRs with missing documentation if 'can be tested' label is…
al13n321 Nov 20, 2023
fdc8b0c
Merge pull request #56956 from evillique/local-send-fatal-log
alexey-milovidov Nov 20, 2023
4ed4fbe
Merge pull request #56993 from amosbird/fix-49552
alexey-milovidov Nov 20, 2023
1523447
Implement system table blob_storage_log
vdimir Nov 7, 2023
ff39fca
Merge pull request #57008 from ClickHouse/enable-analyzer-stress-fuzz
alexey-milovidov Nov 21, 2023
2988bec
Merge pull request #36589 from ClickHouse/remove-useless-install
alexey-milovidov Nov 21, 2023
9580307
Merge pull request #56999 from ClickHouse/s3queue-fix-empty-key-check
kssenii Nov 21, 2023
f960036
Merge pull request #56874 from ClickHouse/kssenii-patch-8
kssenii Nov 21, 2023
d384762
Merge branch 'master' into fs-cache-improvement
kssenii Nov 21, 2023
e34fea5
Merge pull request #56984 from ClickHouse/fix_sqlite_file_path_valida…
Algunenano Nov 21, 2023
474f1ae
Better
kssenii Nov 21, 2023
ad9d4a9
Add system.s3queue_log to default config
kssenii Nov 21, 2023
c5828cf
Merge pull request #57000 from slvrtrn/concat-single-arg
rschu1ze Nov 21, 2023
08b2740
Fix: supress test with tsan
devcrafter Nov 21, 2023
227bb30
Merge pull request #56986 from kevinmingtarja/implicit-constraint-col…
alesapin Nov 21, 2023
8cf93fe
Merge pull request #56905 from ClickHouse/disk_encrypted_create_dirs
davenger Nov 21, 2023
8f34b36
Merge pull request #56538 from ClickHouse/vdimir/join_on_nullsafe_opt…
vdimir Nov 21, 2023
e0ceb5d
Merge pull request #56004 from ClickHouse/Fix_parameterized_view_expl…
SmitaRKulkarni Nov 21, 2023
304b636
Fix gRPC build fix on Mac
rschu1ze Nov 21, 2023
0ebe4ed
Merge pull request #57061 from rschu1ze/fix-grpc-mac
rschu1ze Nov 21, 2023
4052ae8
Merge pull request #57007 from vitlibar/fix-dropping-tables-in-test_c…
vitlibar Nov 21, 2023
a139ae9
Merge pull request #52918 from ClickHouse/vdimir/s3_blob_log
vdimir Nov 21, 2023
087a0a6
Merge pull request #57040 from ClickHouse/fix-rabbitmq-supress-tsan-i…
nikitamikhaylov Nov 21, 2023
e163dbe
Merge pull request #57018 from ClickHouse/canbe
nikitamikhaylov Nov 21, 2023
1dfafcf
Merge branch 'master' into add-system-s3-queue-log-to-config
kssenii Nov 21, 2023
582c91a
Merge pull request #57036 from ClickHouse/add-system-s3-queue-log-to-…
kssenii Nov 21, 2023
04aa0b1
Merge pull request #56990 from ClickHouse/s3queue-fix-incorrect-ref-c…
kssenii Nov 21, 2023
e4f66b8
Merge pull request #55158 from kssenii/fs-cache-improvement
kssenii Nov 21, 2023
5b16bea
insert range selective for shuffle write
liuneng1994 Apr 19, 2023
9d2607b
memory manager
liuneng1994 Apr 19, 2023
af312a8
support nullable inside complex type
liuneng1994 Apr 19, 2023
02c19bd
add lowercase setting for format
liuneng1994 Apr 19, 2023
9b8288c
function change from bigo
liuneng1994 Apr 19, 2023
482f43c
api change for join parsing
liuneng1994 Apr 19, 2023
aaf774c
import extern local engine
liuneng1994 Apr 19, 2023
f18b979
project config change
liuneng1994 Apr 19, 2023
0d74f14
change for complex type from liyang
liuneng1994 Apr 23, 2023
ee29271
remove useDefaultImplementationForNulls override
liuneng1994 Apr 23, 2023
7927ca2
export processors getter in QueryPlanStep
liuneng1994 Apr 25, 2023
4c6f7d4
enable external local engine without enable utils
lwz9103 May 23, 2023
d5ccb00
support assume role (bug fix included) (#449)
binmahone Jun 15, 2023
54b11a3
[GLUTEN-1914] Allow nullable complex type when convert arrow column t…
taiyang-li Jul 20, 2023
767a70f
Allow nullable complex types when writing into parquet/orc (#452)
taiyang-li Jul 25, 2023
1664260
[GLUTEN-2463][CH] Allow nullable tuple column as input in Nested::fla…
taiyang-li Jul 26, 2023
9d1ce8f
[GLUTEN-2584][CH] Fix mismatch complex type values during native orc …
taiyang-li Aug 3, 2023
6941b6f
[GLUTEN-2582][CH]Bug fix array struct crash problem (#457)
KevinyhZou Aug 10, 2023
498ed86
add cmake flags to avoid unkown stack in flume graph (#459)
binmahone Aug 25, 2023
643d8c1
[GLUTEN-2340][CH] Support nullable complex types in getLeastSupertype…
taiyang-li Sep 1, 2023
e7b30fd
[GLUTEN-3115] Support nullable complex types for new native orc input…
taiyang-li Sep 12, 2023
3766b2e
[GLUTEN-3137] Skip map field with complex key type when reading schem…
taiyang-li Sep 14, 2023
67a9845
[Gluten-3187][CH] expose Bloom filter params (#464)
binmahone Sep 25, 2023
b8ba0ae
Fix parse float string to int (#465)
taiyang-li Oct 12, 2023
607d4d1
add a new api in aggregator
lgbo-ustc Nov 24, 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
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
/build
/build_*
/build-*
/builds
/tests/venv
/obj-x86_64-linux-gnu/

@@ -169,3 +170,8 @@ tests/integration/**/_gen
# It is autogenerated from *.in
/rust/**/.cargo/config.toml
/rust/**/vendor

utils/local-engine/tests/testConfig.h
utils/extern-local-engine

.history
29 changes: 13 additions & 16 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -21,8 +21,11 @@ include (cmake/clang_tidy.cmake)
include (cmake/git.cmake)
include (cmake/utils.cmake)

# This is needed to set up the CMAKE_INSTALL_BINDIR variable.
include (GNUInstallDirs)

# Ignore export() since we don't use it,
# but it gets broken with a global targets via link_libraries()
# but it gets broken with global targets via link_libraries()
macro (export)
endmacro ()

@@ -144,6 +147,9 @@ if (COMPILER_CLANG)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Xclang -fuse-ctor-homing")
endif()

# uncommment this to analyze flame graph
# set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-optimize-sibling-calls")
# set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fno-optimize-sibling-calls")
no_warning(enum-constexpr-conversion) # breaks Protobuf in clang-16
endif ()

@@ -380,6 +386,8 @@ endif ()

include(cmake/dbms_glob_sources.cmake)

set (CMAKE_POSITION_INDEPENDENT_CODE ON)

add_library(global-group INTERFACE)
if (OS_LINUX OR OS_ANDROID)
include(cmake/linux/default_libs.cmake)
@@ -422,10 +430,6 @@ endif ()

set (CMAKE_POSTFIX_VARIABLE "CMAKE_${CMAKE_BUILD_TYPE_UC}_POSTFIX")

if (NOT SANITIZE)
set (CMAKE_POSITION_INDEPENDENT_CODE OFF)
endif()

if (OS_LINUX AND NOT (ARCH_AARCH64 OR ARCH_S390X) AND NOT SANITIZE)
# Slightly more efficient code can be generated
# It's disabled for ARM because otherwise ClickHouse cannot run on Android.
@@ -460,14 +464,6 @@ endif ()

message (STATUS "Building for: ${CMAKE_SYSTEM} ${CMAKE_SYSTEM_PROCESSOR} ${CMAKE_LIBRARY_ARCHITECTURE}")

include (GNUInstallDirs)

# When testing for memory leaks with Valgrind, don't link tcmalloc or jemalloc.

if (TARGET global-group)
install (EXPORT global DESTINATION cmake)
endif ()

add_subdirectory (contrib EXCLUDE_FROM_ALL)

if (NOT ENABLE_JEMALLOC)
@@ -488,8 +484,10 @@ macro (clickhouse_add_executable target)
if (${type} STREQUAL EXECUTABLE)
# disabled for TSAN and gcc since libtsan.a provides overrides too
if (TARGET clickhouse_new_delete)
# operator::new/delete for executables (MemoryTracker stuff)
target_link_libraries (${target} PRIVATE clickhouse_new_delete)
if (NOT ${target} STREQUAL Git::Git)
# operator::new/delete for executables (MemoryTracker stuff)
target_link_libraries (${target} PRIVATE clickhouse_new_delete ${MALLOC_LIBRARIES})
endif()
endif()

# In case of static jemalloc, because zone_register() is located in zone.c and
@@ -561,7 +559,6 @@ option(CHECK_LARGE_OBJECT_SIZES "Check that there are no large object files afte
add_subdirectory (base)
add_subdirectory (src)
add_subdirectory (programs)
add_subdirectory (tests)
add_subdirectory (utils)

if (FUZZER)
6 changes: 0 additions & 6 deletions base/glibc-compatibility/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -35,12 +35,6 @@ if (GLIBC_COMPATIBILITY)

target_link_libraries(global-libs INTERFACE glibc-compatibility ${MEMCPY_LIBRARY})

install(
TARGETS glibc-compatibility ${MEMCPY_LIBRARY}
EXPORT global
ARCHIVE DESTINATION lib
)

message (STATUS "Some symbols from glibc will be replaced for compatibility")

elseif (CLICKHOUSE_OFFICIAL_BUILD)
1 change: 0 additions & 1 deletion base/harmful/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
add_library(harmful harmful.c)
install(TARGETS harmful EXPORT global ARCHIVE DESTINATION lib)
1 change: 0 additions & 1 deletion base/poco/Net/src/HTTPServerSession.cpp
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@ HTTPServerSession::HTTPServerSession(const StreamSocket& socket, HTTPServerParam
_maxKeepAliveRequests(pParams->getMaxKeepAliveRequests())
{
setTimeout(pParams->getTimeout());
this->socket().setReceiveTimeout(pParams->getTimeout());
}


31 changes: 28 additions & 3 deletions base/poco/Net/src/HTTPSession.cpp
Original file line number Diff line number Diff line change
@@ -93,9 +93,34 @@ void HTTPSession::setTimeout(const Poco::Timespan& timeout)

void HTTPSession::setTimeout(const Poco::Timespan& connectionTimeout, const Poco::Timespan& sendTimeout, const Poco::Timespan& receiveTimeout)
{
_connectionTimeout = connectionTimeout;
_sendTimeout = sendTimeout;
_receiveTimeout = receiveTimeout;
try
{
_connectionTimeout = connectionTimeout;

if (_sendTimeout.totalMicroseconds() != sendTimeout.totalMicroseconds()) {
_sendTimeout = sendTimeout;

if (connected())
_socket.setSendTimeout(_sendTimeout);
}

if (_receiveTimeout.totalMicroseconds() != receiveTimeout.totalMicroseconds()) {
_receiveTimeout = receiveTimeout;

if (connected())
_socket.setReceiveTimeout(_receiveTimeout);
}
}
catch (NetException &)
{
#ifndef NDEBUG
throw;
#else
// mute exceptions in release
// just in case when changing settings on socket is not allowed
// however it should be OK for timeouts
#endif
}
}


19 changes: 0 additions & 19 deletions cmake/add_check.cmake

This file was deleted.

6 changes: 3 additions & 3 deletions cmake/ccache.cmake
Original file line number Diff line number Diff line change
@@ -9,10 +9,10 @@ if (CMAKE_CXX_COMPILER_LAUNCHER MATCHES "ccache" OR CMAKE_C_COMPILER_LAUNCHER MA
return()
endif()

set(COMPILER_CACHE "auto" CACHE STRING "Speedup re-compilations using the caching tools; valid options are 'auto' (ccache, then sccache), 'ccache', 'sccache', or 'disabled'")
set(COMPILER_CACHE "auto" CACHE STRING "Speedup re-compilations using the caching tools; valid options are 'auto' (sccache, then ccache), 'ccache', 'sccache', or 'disabled'")

if(COMPILER_CACHE STREQUAL "auto")
find_program (CCACHE_EXECUTABLE NAMES ccache sccache)
find_program (CCACHE_EXECUTABLE NAMES sccache ccache)
elseif (COMPILER_CACHE STREQUAL "ccache")
find_program (CCACHE_EXECUTABLE ccache)
elseif(COMPILER_CACHE STREQUAL "sccache")
@@ -21,7 +21,7 @@ elseif(COMPILER_CACHE STREQUAL "disabled")
message(STATUS "Using *ccache: no (disabled via configuration)")
return()
else()
message(${RECONFIGURE_MESSAGE_LEVEL} "The COMPILER_CACHE must be one of (auto|ccache|sccache|disabled), value: '${COMPILER_CACHE}'")
message(${RECONFIGURE_MESSAGE_LEVEL} "The COMPILER_CACHE must be one of (auto|sccache|ccache|disabled), value: '${COMPILER_CACHE}'")
endif()


64 changes: 28 additions & 36 deletions cmake/cpu_features.cmake
Original file line number Diff line number Diff line change
@@ -134,60 +134,52 @@ elseif (ARCH_AMD64)
# ClickHouse can be cross-compiled (e.g. on an ARM host for x86) but it is also possible to build ClickHouse on x86 w/o AVX for x86 w/
# AVX. We only assume that the compiler can emit certain SIMD instructions, we don't care if the host system is able to run the binary.

SET (HAVE_SSSE3 1)
SET (HAVE_SSE41 1)
SET (HAVE_SSE42 1)
SET (HAVE_PCLMULQDQ 1)
SET (HAVE_POPCNT 1)
SET (HAVE_AVX 1)
SET (HAVE_AVX2 1)
SET (HAVE_AVX512 1)
SET (HAVE_AVX512_VBMI 1)
SET (HAVE_BMI 1)
SET (HAVE_BMI2 1)

if (HAVE_SSSE3 AND ENABLE_SSSE3)
if (ENABLE_SSSE3)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mssse3")
endif ()
if (HAVE_SSE41 AND ENABLE_SSE41)

if (ENABLE_SSE41)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -msse4.1")
endif ()
if (HAVE_SSE42 AND ENABLE_SSE42)

if (ENABLE_SSE42)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -msse4.2")
endif ()
if (HAVE_PCLMULQDQ AND ENABLE_PCLMULQDQ)

if (ENABLE_PCLMULQDQ)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mpclmul")
endif ()
if (HAVE_POPCNT AND ENABLE_POPCNT)

if (ENABLE_BMI)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mbmi")
endif ()

if (ENABLE_POPCNT)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mpopcnt")
endif ()
if (HAVE_AVX AND ENABLE_AVX)

if (ENABLE_AVX)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mavx")
endif ()
if (HAVE_AVX2 AND ENABLE_AVX2)

if (ENABLE_AVX2)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mavx2")
if (ENABLE_BMI2)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mbmi2")
endif ()
endif ()
if (HAVE_AVX512 AND ENABLE_AVX512)

if (ENABLE_AVX512)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mavx512f -mavx512bw -mavx512vl")
if (ENABLE_AVX512_VBMI)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mavx512vbmi")
endif ()
endif ()
if (HAVE_AVX512 AND ENABLE_AVX512 AND HAVE_AVX512_VBMI AND ENABLE_AVX512_VBMI)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mavx512vbmi")
endif ()
if (HAVE_BMI AND ENABLE_BMI)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mbmi")
endif ()
if (HAVE_BMI2 AND HAVE_AVX2 AND ENABLE_AVX2 AND ENABLE_BMI2)
set (COMPILER_FLAGS "${COMPILER_FLAGS} -mbmi2")
endif ()

if (ENABLE_AVX512_FOR_SPEC_OP)
set (X86_INTRINSICS_FLAGS "")
if (HAVE_BMI)
set (X86_INTRINSICS_FLAGS "${X86_INTRINSICS_FLAGS} -mbmi")
endif ()
if (HAVE_AVX512)
set (X86_INTRINSICS_FLAGS "${X86_INTRINSICS_FLAGS} -mavx512f -mavx512bw -mavx512vl -mprefer-vector-width=256")
endif ()
set (X86_INTRINSICS_FLAGS "-mbmi -mavx512f -mavx512bw -mavx512vl -mprefer-vector-width=256")
endif ()

else ()
# RISC-V + exotic platforms
endif ()
6 changes: 0 additions & 6 deletions cmake/darwin/default_libs.cmake
Original file line number Diff line number Diff line change
@@ -22,9 +22,3 @@ link_libraries(global-group)
target_link_libraries(global-group INTERFACE
$<TARGET_PROPERTY:global-libs,INTERFACE_LINK_LIBRARIES>
)

# FIXME: remove when all contribs will get custom cmake lists
install(
TARGETS global-group global-libs
EXPORT global
)
6 changes: 0 additions & 6 deletions cmake/darwin/toolchain-aarch64.cmake
Original file line number Diff line number Diff line change
@@ -9,9 +9,3 @@ set (CMAKE_ASM_COMPILER_TARGET "aarch64-apple-darwin")
set (CMAKE_OSX_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../toolchain/darwin-aarch64")

set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # disable linkage check - it doesn't work in CMake

set (HAS_PRE_1970_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_PRE_1970_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)

set (HAS_POST_2038_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_POST_2038_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)
6 changes: 0 additions & 6 deletions cmake/darwin/toolchain-x86_64.cmake
Original file line number Diff line number Diff line change
@@ -9,9 +9,3 @@ set (CMAKE_ASM_COMPILER_TARGET "x86_64-apple-darwin")
set (CMAKE_OSX_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../toolchain/darwin-x86_64")

set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # disable linkage check - it doesn't work in CMake

set (HAS_PRE_1970_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_PRE_1970_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)

set (HAS_POST_2038_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_POST_2038_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)
6 changes: 0 additions & 6 deletions cmake/freebsd/default_libs.cmake
Original file line number Diff line number Diff line change
@@ -25,9 +25,3 @@ link_libraries(global-group)
target_link_libraries(global-group INTERFACE
$<TARGET_PROPERTY:global-libs,INTERFACE_LINK_LIBRARIES>
)

# FIXME: remove when all contribs will get custom cmake lists
install(
TARGETS global-group global-libs
EXPORT global
)
10 changes: 0 additions & 10 deletions cmake/freebsd/toolchain-aarch64.cmake
Original file line number Diff line number Diff line change
@@ -9,13 +9,3 @@ set (CMAKE_ASM_COMPILER_TARGET "aarch64-unknown-freebsd12")
set (CMAKE_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../../contrib/sysroot/freebsd-aarch64")

set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # disable linkage check - it doesn't work in CMake

# Will be changed later, but somehow needed to be set here.
set (CMAKE_AR "ar")
set (CMAKE_RANLIB "ranlib")

set (HAS_PRE_1970_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_PRE_1970_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)

set (HAS_POST_2038_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_POST_2038_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)
10 changes: 0 additions & 10 deletions cmake/freebsd/toolchain-ppc64le.cmake
Original file line number Diff line number Diff line change
@@ -9,13 +9,3 @@ set (CMAKE_ASM_COMPILER_TARGET "powerpc64le-unknown-freebsd13")
set (CMAKE_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../../contrib/sysroot/freebsd-ppc64le")

set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # disable linkage check - it doesn't work in CMake

# Will be changed later, but somehow needed to be set here.
set (CMAKE_AR "ar")
set (CMAKE_RANLIB "ranlib")

set (HAS_PRE_1970_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_PRE_1970_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)

set (HAS_POST_2038_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_POST_2038_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)
10 changes: 0 additions & 10 deletions cmake/freebsd/toolchain-x86_64.cmake
Original file line number Diff line number Diff line change
@@ -9,13 +9,3 @@ set (CMAKE_ASM_COMPILER_TARGET "x86_64-pc-freebsd11")
set (CMAKE_SYSROOT "${CMAKE_CURRENT_LIST_DIR}/../../contrib/sysroot/freebsd-x86_64")

set (CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) # disable linkage check - it doesn't work in CMake

# Will be changed later, but somehow needed to be set here.
set (CMAKE_AR "ar")
set (CMAKE_RANLIB "ranlib")

set (HAS_PRE_1970_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_PRE_1970_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)

set (HAS_POST_2038_EXITCODE "0" CACHE STRING "Result from TRY_RUN" FORCE)
set (HAS_POST_2038_EXITCODE__TRYRUN_OUTPUT "" CACHE STRING "Output from TRY_RUN" FORCE)
4 changes: 2 additions & 2 deletions cmake/limit_jobs.cmake
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ if (NOT PARALLEL_COMPILE_JOBS AND MAX_COMPILER_MEMORY)
set (PARALLEL_COMPILE_JOBS 1)
endif ()
if (PARALLEL_COMPILE_JOBS LESS NUMBER_OF_LOGICAL_CORES)
message(WARNING "The auto-calculated compile jobs limit (${PARALLEL_COMPILE_JOBS}) underutilizes CPU cores (${NUMBER_OF_LOGICAL_CORES}). Set PARALLEL_COMPILE_JOBS to override.")
message("The auto-calculated compile jobs limit (${PARALLEL_COMPILE_JOBS}) underutilizes CPU cores (${NUMBER_OF_LOGICAL_CORES}). Set PARALLEL_COMPILE_JOBS to override.")
endif()
endif ()

@@ -32,7 +32,7 @@ if (NOT PARALLEL_LINK_JOBS AND MAX_LINKER_MEMORY)
set (PARALLEL_LINK_JOBS 1)
endif ()
if (PARALLEL_LINK_JOBS LESS NUMBER_OF_LOGICAL_CORES)
message(WARNING "The auto-calculated link jobs limit (${PARALLEL_LINK_JOBS}) underutilizes CPU cores (${NUMBER_OF_LOGICAL_CORES}). Set PARALLEL_LINK_JOBS to override.")
message("The auto-calculated link jobs limit (${PARALLEL_LINK_JOBS}) underutilizes CPU cores (${NUMBER_OF_LOGICAL_CORES}). Set PARALLEL_LINK_JOBS to override.")
endif()
endif ()

6 changes: 0 additions & 6 deletions cmake/linux/default_libs.cmake
Original file line number Diff line number Diff line change
@@ -50,9 +50,3 @@ target_link_libraries(global-group INTERFACE
$<TARGET_PROPERTY:global-libs,INTERFACE_LINK_LIBRARIES>
-Wl,--end-group
)

# FIXME: remove when all contribs will get custom cmake lists
install(
TARGETS global-group global-libs
EXPORT global
)
Loading