nemonlou
8ff21d7e47
fix review comments
2024-03-19 11:29:22 +08:00
Dan Wu
411fb050d3
Merge branch 'ClickHouse:master' into 61220_fix_read_system_parts
2024-03-19 11:16:17 +08:00
nemonlou
5cf22bae6f
minor: fix style change
2024-03-19 09:58:07 +08:00
nemonlou
0b5fc743f2
make nulls direction configuable for FullSortingMergeJoin(fix review comments)
2024-03-19 09:58:07 +08:00
nemonlou
a1a4bd3514
make nulls direction configuable for FullSortingMergeJoin
2024-03-19 09:58:07 +08:00
Vitaly Baranov
c8375cd167
Better code: remove unnecessary usage of const_cast and std::function.
2024-03-19 02:56:38 +01:00
Vitaly Baranov
306f642d97
Update dictionary's comment in the same safe manner too.
2024-03-19 02:56:33 +01:00
robot-ch-test-poll3
e82cf5d5ba
Merge pull request #61528 from ClickHouse/revert-61518-revert-61298-analyzer-merge-virtual-columns
...
Revert "Revert "Analyzer: Fix virtual columns in StorageMerge""
2024-03-18 23:51:55 +01:00
PapaToemmsn
fbc8a19a02
Merge branch 'ClickHouse:master' into test-transaction-fixes
2024-03-18 22:42:10 +01:00
Robert Schulze
02e0b682ab
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 21:29:41 +00:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
...
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
Antonio Andelic
8c55162e92
Fix string search with const position
2024-03-18 21:41:06 +01:00
Alexander Tokmakov
9af69b4266
fix read_rows count with external group by
2024-03-18 21:05:09 +01:00
Nikolai Kochetov
e97443ddd1
Update StorageBuffer.cpp
2024-03-18 20:15:34 +01:00
Nikolai Kochetov
c99a874305
Update StorageValues.cpp
2024-03-18 20:13:52 +01:00
Kirill Nikiforov
ebaee8e5f6
Add support for ATTACH PARTITION ALL
( #61107 )
2024-03-18 15:00:27 -04:00
Nikolai Kochetov
3def01f1f6
Fixing 01083_expressions_in_engine_arguments with analyzer.
2024-03-18 18:53:01 +00:00
William Schoeffel
4f30ac72a1
fix typo in variable name legacy
2024-03-18 15:18:47 -03:00
Yarik Briukhovetskyi
0bd60dac51
Merge pull request #61540 from arthurpassos/fix_merge_selector_typo
...
Fix typo
2024-03-18 18:52:31 +01:00
Alexey Milovidov
613c31038a
Fix recompilation of regexps during backtracking in the parser
2024-03-18 18:40:47 +01:00
robot-ch-test-poll1
fb2b5df7a9
Merge pull request #61475 from ClickHouse/nickitat-patch-20
...
Allow queuing in restore pool
2024-03-18 21:13:58 +04:00
Nikolai Kochetov
b3e9f07e2e
Deprecate name collisions for now.
2024-03-18 16:54:59 +00:00
Nikita Taranov
c1fb34da0d
Merge branch 'master' into debug_info
2024-03-18 17:54:31 +01:00
Arthur Passos
c67c04b89a
fix typo
2024-03-18 13:44:36 -03:00
Raúl Marín
4c27287c6d
Fix crash in arrayPartialReverseSort
2024-03-18 17:30:29 +01:00
kssenii
b814fabcd3
Disallow s3queue sharded mode
2024-03-18 17:22:38 +01:00
divanik
265d91747f
Remove log debug
2024-03-18 16:03:12 +00:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords
[Part 1] ( #51808 )
2024-03-18 16:58:57 +01:00
Kseniia Sumarokova
d4895c2e52
Merge pull request #61324 from ClickHouse/add-zk-retries
...
Add zookeeper retries for exists check in forcefullyRemoveBrokenOutdatedPartFromZooKeeper
2024-03-18 16:17:37 +01:00
Raúl Marín
a8ea0cbaa6
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:12:10 +01:00
Raúl Marín
46f0f385aa
Merge remote-tracking branch 'blessed/master' into disable_adaptative
2024-03-18 16:11:34 +01:00
Raúl Marín
4626a0b3a1
Merge remote-tracking branch 'blessed/master' into experiment_int128
2024-03-18 16:10:32 +01:00
Dmitry Novik
836fe46c33
Disable new analyzer in MutationsInterpreter #ci_set_analyzer
2024-03-18 15:50:58 +01:00
PapaToemmsn
46a43fefdf
Merge branch 'ClickHouse:master' into test-transaction-fixes
2024-03-18 15:17:55 +01:00
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
...
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
PapaToemmsn
364fe95b76
fix style check errors
2024-03-18 14:14:52 +00:00
PapaToemmsn
da3cb02df5
COMMIT/ROLLBACK with no active transaction do not throw an exception for MySQL clients anymore
2024-03-18 14:14:51 +00:00
PapaToemmsn
e208907f39
fix for #57598 (ROLLBACK should be no-op...)
...
Change to verify proper behaviour for ROLLBACK should be no-op when no active tranaction is running (MySQL compatibility) #57598
2024-03-18 14:14:50 +00:00
Vitaly Baranov
5c60b1fab1
Remove unnecessary reloading while renaming a dictionary in Atomic database.
2024-03-18 14:43:43 +01:00
Vitaly Baranov
08d64f9e11
Get rid of modifying a shared AbstractConfiguration (between StorageDictionary and ExternalDictionariesLoader).
...
Always create a new configuration when we need to modify it.
2024-03-18 14:43:38 +01:00
Dmitry Novik
15e19206b4
Merge remote-tracking branch 'origin/master' into analyzer-distr-json-copy
2024-03-18 14:24:51 +01:00
Dmitry Novik
64b5acf0e4
Code cleanup
2024-03-18 14:24:06 +01:00
Dmitry Novik
a65f027cf7
Revert "Revert "Analyzer: Fix virtual columns in StorageMerge""
2024-03-18 14:00:20 +01:00
Yarik Briukhovetskyi
5e5a39d039
Merge pull request #61467 from wiledusc/remove-duplicated-check-containing-part-empty
...
Remove duplicated check containing_part.empty()
2024-03-18 13:44:25 +01:00
Antonio Andelic
47e3eccc59
Fix repeat with non native integers
2024-03-18 13:41:25 +01:00
李扬
fe4947f60c
Merge branch 'ClickHouse:master' into opt_memcpy_small
2024-03-18 20:40:47 +08:00
divanik
c5d35bb187
Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function
2024-03-18 12:26:43 +00:00
Yarik Briukhovetskyi
c85d410cda
Merge pull request #60612 from JakeBamrah/master
...
[59558] Add size cap to Memory tables
2024-03-18 13:21:56 +01:00
Alexey Milovidov
1bc21f1942
Merge branch 'master' into fix-error-in-client
2024-03-18 13:19:55 +01:00
kssenii
c6e86e3bb3
Review suggestion
2024-03-18 13:06:39 +01:00
Alexey Milovidov
8434f04975
Fix style
2024-03-18 12:40:49 +01:00
Robert Schulze
0dff126942
Merge remote-tracking branch 'rschu1ze/master' into enable-clang-tidy-in-headers
2024-03-18 11:34:13 +00:00
alesapin
b01526aeb2
Merge pull request #61267 from CurtizJ/better-memory-usage-inserts
...
Free memory earlier in inserts
2024-03-18 12:30:42 +01:00
Alexey Milovidov
9065f34534
Fix infinite loop in function hop
2024-03-18 12:27:15 +01:00
vdimir
c3bfbf541c
Merge pull request #61254 from ClickHouse/vdimir/fix_astrename_clone2
...
Followup fix ASTRenameQuery::clone
2024-03-18 12:21:29 +01:00
kssenii
718e092c91
Make dynamic resize of cache non blocking
2024-03-18 12:19:38 +01:00
vdimir
dbed5d1902
Add analyzer_compatibility_join_using_top_level_identifier
2024-03-18 11:11:21 +00:00
vdimir
fbad9b799c
fix PREWHERE with join_use_nulls
2024-03-18 11:11:06 +00:00
vdimir
e27e6fb2f5
Analyzer: support join using column from select list
2024-03-18 11:11:00 +00:00
Nikita Mikhaylov
30b757b40d
Check boundaries for some settings in parallel replicas ( #61455 )
2024-03-18 12:06:45 +01:00
robot-ch-test-poll4
e8a08baf23
Merge pull request #61092 from rschu1ze/locate-mysql
...
Make the argument order for `locate` compatible with MySQL
2024-03-18 11:55:05 +01:00
Robert Schulze
9b9f409805
Fix spelling
2024-03-18 10:45:57 +00:00
Robert Schulze
fe86741059
Some fixups
2024-03-18 10:44:56 +00:00
Raúl Marín
34be6cf1e1
Merge remote-tracking branch 'blessed/master' into disable_adaptative
2024-03-18 11:38:18 +01:00
Sergei Trifonov
948ec2ba86
Merge pull request #60314 from ClickHouse/fix-db-shutdown-with-async-loader
...
Fix database iterator waiting code
2024-03-18 11:26:41 +01:00
Kseniia Sumarokova
6d2e48d085
Merge branch 'master' into add-zk-retries
2024-03-18 11:24:36 +01:00
alesapin
0faf4eacb8
Merge pull request #61299 from ClickHouse/merge_config
...
Add ability to merge includes for config preprocessor for configs
2024-03-18 11:22:42 +01:00
Antonio Andelic
6549a96ced
Revert "Analyzer: Fix virtual columns in StorageMerge"
2024-03-18 10:38:28 +01:00
Robert Schulze
f02db275c5
Merge remote-tracking branch 'rschu1ze/master' into dotProduct-memcpy
2024-03-18 09:26:29 +00:00
János Benjamin Antal
4b4a03c0f1
Merge branch 'master' into less-header-1
2024-03-18 10:25:42 +01:00
lgbo-ustc
43eea86ec5
fixed
2024-03-18 17:13:20 +08:00
lgbo-ustc
e40342d65d
Merge remote-tracking branch 'origin/master' into split_aggregator
2024-03-18 17:11:55 +08:00
Robert Schulze
c98a165980
Fix build
2024-03-18 08:32:16 +00:00
Robert Schulze
e5baeaba9c
Fix FastTest
2024-03-18 08:00:21 +00:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers
2024-03-18 08:00:09 +00:00
Robert Schulze
eb26bb2a1c
Merge pull request #61348 from rschu1ze/flaky-test_uncrop_query
...
Un-flake `test_undrop_query`
2024-03-18 08:56:22 +01:00
李扬
4949e9722b
Merge branch 'ClickHouse:master' into opt_insertmanyfrom
2024-03-18 11:21:11 +08:00
李扬
9296be3747
Merge branch 'ClickHouse:master' into opt_memcpy_small
2024-03-18 10:35:09 +08:00
Alexey Milovidov
2eb7de859d
Correct arguments parsing
2024-03-18 02:35:32 +01:00
Alexey Milovidov
5000e3e10b
Fix error in clickhouse-client
2024-03-18 02:17:24 +01:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
95cfba9439
Add a test
2024-03-17 20:26:43 +01:00
Alexey Milovidov
13797b9712
Fix style
2024-03-17 20:21:07 +01:00
Alexey Milovidov
65d091cc65
Limit backtracking in parser
2024-03-17 20:16:23 +01:00
Alexey Milovidov
f0c9fe6bc9
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Alexey Milovidov
01136bbc3b
Limit backtracking in parser
2024-03-17 19:54:45 +01:00
Alexey Milovidov
bfea36877b
Merge pull request #61499 from ClickHouse/fix-fuzzers
...
Fix fuzzers
2024-03-17 21:15:10 +03:00
Kseniia Sumarokova
d4205afe82
Merge branch 'master' into add-zk-retries
2024-03-17 17:56:32 +01:00
Alexey Milovidov
677f2dac21
Merge pull request #61114 from ClickHouse/split-cast-overload-resolver
...
Split `CastOverloadResolver` translation unit
2024-03-17 19:16:43 +03:00
Alexey Milovidov
44e918bc67
Revive getFuzzerData
2024-03-17 16:22:33 +01:00
Alexey Milovidov
0a3e42401c
Fix fuzzers
2024-03-17 15:44:36 +01:00
Kseniia Sumarokova
f53f3cd833
Merge pull request #61494 from ClickHouse/minor-rename
...
Minor rename in FileCache
2024-03-17 15:04:24 +01:00
Alexey Milovidov
994bf8765c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-cast-overload-resolver
2024-03-17 14:20:02 +01:00
Alexey Milovidov
3165a5e4c4
Merge pull request #61162 from ClickHouse/split-range-hashed-dictionary
...
Split `RangeHashedDictionary`
2024-03-17 16:18:06 +03:00
Alexey Milovidov
eec0bf2f52
Fix style
2024-03-17 13:34:34 +01:00
Alexey Milovidov
7c35f1d07e
Less crap
2024-03-17 13:23:09 +01:00
Alexey Milovidov
427a8b3264
Less crap
2024-03-17 13:20:49 +01:00
Alexey Milovidov
cb8d859453
Merge branch 'master' into analyzer-distr-json
2024-03-17 15:15:06 +03:00
Alexey Milovidov
bf98386a33
Merge pull request #61298 from ClickHouse/analyzer-merge-virtual-columns
...
Analyzer: Fix virtual columns in StorageMerge
2024-03-17 15:05:23 +03:00
Alexey Milovidov
2af6d35752
Less crap
2024-03-17 12:53:59 +01:00
Alexey Milovidov
921ec12192
Maybe not worse
2024-03-17 12:29:45 +01:00
Vitaly Baranov
4fe1c9a78f
Get rid of checking the "last modification time" when the configuration is generated
...
to allow ExternalLoader::reloadConfig() work for generated configurations too.
2024-03-17 12:10:57 +01:00
Vitaly Baranov
41d8621d97
Fix replacing dictionaries: StorageID is now updated immediately for every dictionary during CREATE OR REPLACE
...
even if the dictionary is not loaded yet or loading right now.
2024-03-17 12:10:52 +01:00
Alexey Milovidov
96f53df7ad
Fix error
2024-03-17 12:02:02 +01:00
Alexey Milovidov
fac040e08e
Add documentation
2024-03-17 00:34:32 +01:00
Alexey Milovidov
d627fbef55
Fix errors
2024-03-17 00:26:07 +01:00
Alexey Milovidov
f1be9e6707
Trash
2024-03-17 00:17:59 +01:00
Alexey Milovidov
e5f15b6ac4
Fix errors
2024-03-16 23:00:57 +01:00
Alexey Milovidov
81f0e9ece6
Merge branch 'definitive-cast' into split-cast-overload-resolver
2024-03-16 20:03:44 +01:00
kssenii
f5a13a023b
Rename CacheGuard -> CachePriorityGuard (because it is more correct)
2024-03-16 18:58:16 +01:00
Alexey Milovidov
3a8974e7e1
A definitive guide to CAST
2024-03-16 16:23:12 +01:00
Alexey Milovidov
9be38c064a
Merge branch 'master' into split-cast-overload-resolver
2024-03-16 14:07:59 +01:00
Alexey Milovidov
f31beb98cd
Merge pull request #61466 from vitlibar/fix-finishing-failed-restore
...
Fix finishing a failed RESTORE
2024-03-16 13:41:33 +03:00
Yakov Olkhovskiy
63a3555881
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into fix-alter-query-cte
2024-03-16 03:25:49 +00:00
Dan Wu
adaf262dc0
Fix bug when reading system.parts using UUID (issue 61220).
...
During the predicates pushing down of system.parts table, there is a
logic to use that predicates to filter on the storages. This makes sense
if the predicate is on the `database`, `table`, `engine`. But it can be
problem if the predicate is about `uuid`, because storage UUID is
apparently different from parts UUID.
Rename the column name from `uuid` to `storage_uuid` fixed this.
2024-03-16 02:02:21 +00:00
Nikita Taranov
8be4a3d7a5
Update BackupsWorker.cpp
2024-03-15 20:28:46 +01:00
Raúl Marín
b9f6de095d
Disable async_insert_use_adaptive_busy_timeout correctly with compatibility settings
2024-03-15 18:11:35 +01:00
William Schoeffel
4dbf3ee1bb
fix: remove duplicated check containing part
2024-03-15 14:05:24 -03:00
Ilya Yatsishin
1296dac3c7
Merge pull request #61317 from Algunenano/fuzzer_numbers
2024-03-15 20:53:18 +04:00
Vitaly Baranov
9bb697eb17
Fix finishing a failed RESTORE.
2024-03-15 17:46:26 +01:00
Yakov Olkhovskiy
a31f551bc7
Merge pull request #58223 from jewelzqiu/existing-count
...
Consider lightweight deleted rows when selecting parts to merge
2024-03-15 12:42:35 -04:00
Antonio Andelic
48a96f8798
Merge pull request #61389 from ClickHouse/sum-if-count-if-nullabl
...
Disable `optimize_rewrite_sum_if_to_count_if` if return type is nullable (new analyzer)
2024-03-15 17:18:19 +01:00
Raúl Marín
46e09d00e3
Merge remote-tracking branch 'blessed/master' into actions_dag_broken_prewhere
2024-03-15 16:50:04 +01:00
Dmitry Novik
7c49d5bbf6
Fix some tests #ci_set_analyzer
2024-03-15 15:35:31 +00:00
Han Fei
91d18649f4
update comments
2024-03-15 16:23:51 +01:00
Robert Schulze
f132eef63b
Merge remote-tracking branch 'rschu1ze/master' into flaky-test_uncrop_query
2024-03-15 15:12:58 +00:00
taiyang-li
32ed2353f5
fix issue of actions dag split
2024-03-15 16:01:03 +01:00
Kruglov Pavel
d045ab150e
Merge pull request #61362 from ClickHouse/revert-61359-revert-61234-Avogar-patch-2
...
Revert "Revert "Fix usage of session_token in S3 engine""
2024-03-15 16:00:05 +01:00
János Benjamin Antal
b66df8b415
Merge remote-tracking branch 'origin/master' into split-range-hashed-dictionary
2024-03-15 14:39:58 +00:00
Dmitry Novik
061cd5a53d
Fixup #ci_set_analyzer
2024-03-15 14:22:46 +00:00
Anton Popov
6ad2f95837
Merge remote-tracking branch 'upstream/master' into HEAD
2024-03-15 13:52:20 +00:00
Anton Popov
e50ebe13f2
Merge pull request #61257 from CurtizJ/fix-uniq-exact
...
Fix possible incorrect result of aggregate function `uniqExact`
2024-03-15 14:34:16 +01:00
Robert Schulze
9546370544
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-15 13:11:22 +00:00
Dmitry Novik
1cdd280c9f
Merge pull request #61392 from ClickHouse/analyzer-fix-context-in-merge
...
Analyzer: Fix planner context for subquery in StorageMerge
2024-03-15 14:05:28 +01:00
alesapin
38cd6ef27d
Merge branch 'master' into merge_config
2024-03-15 13:52:52 +01:00
Sergei Trifonov
273d221781
Merge pull request #60558 from ClickHouse/revert-60253-revert-59032-cpu-scheduler-and-cc
...
Revert "Revert "Support resource request canceling""
2024-03-15 13:24:50 +01:00
divanik
e57446b6f5
Resolved conflicts
2024-03-15 11:57:59 +00:00
taiyang-li
00533f3df6
revert opts in column array
2024-03-15 19:43:44 +08:00
Alexey Milovidov
a5bd242059
Even more garbage
2024-03-15 12:36:33 +01:00
Alexey Milovidov
b55c1d7bc1
Merge pull request #61354 from tuanpavn/tuanpavn-add-vm-async-metrics
...
Add async metrics for virtual memory mappings: VMMaxMapCount & VMNumMaps
2024-03-15 14:06:46 +03:00
Antonio Andelic
060f79862d
Fix
2024-03-15 10:49:36 +00:00
Antonio Andelic
d68122d3b7
Merge branch 'master' into sum-if-count-if-nullabl
2024-03-15 10:40:04 +00:00
Alexey Milovidov
4290b1fe2c
Garbage
2024-03-15 11:32:21 +01:00
Antonio Andelic
0ba400d065
Merge pull request #61380 from ClickHouse/fix-heap-use-after-free-alias-merge
...
Fix `heap-use-after-free` for Merge table with alias
2024-03-15 11:15:02 +01:00
Robert Schulze
1281acc295
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql
2024-03-15 10:14:46 +00:00
Alexey Milovidov
4eda78440d
Remove C++ templates
2024-03-15 10:34:32 +01:00
Zhuo Qiu
7f97b11ce6
only read _row_exists column when necessary
2024-03-15 15:48:20 +08:00
tomershafir
ac0ed1deee
rm whitespace
2024-03-15 09:03:43 +02:00
Pham Anh Tuan
5a56c43939
add async metrics for virtual memory mappings
2024-03-15 06:48:46 +00:00
Alexey Milovidov
c9fb8ef54b
Merge branch 'master' into split-cast-overload-resolver
2024-03-15 07:09:51 +01:00