Commit Graph

13568 Commits

Author SHA1 Message Date
Alexander Tokmakov
5a868304c0
Revert "Remove some unnecessary UNREACHABLEs" 2024-05-27 11:38:22 +02:00
Igor Markelov
a2bcb4d9db Merge branch 'master' into add-compression-sorts-optimization 2024-05-26 21:11:50 +00:00
serxa
cea82aab59 add dynamic untracked memory limits for more precise memory tracking 2024-05-26 20:43:49 +00:00
Robert Schulze
4d642a0e6c
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-26 20:43:41 +00:00
Robert Schulze
7a552f5b06
Merge pull request #64035 from rschu1ze/unreachable-unreachable
Remove some unnecessary `UNREACHABLE`s
2024-05-26 20:37:17 +00:00
Igor Markelov
3b6a2902fe Merge branch 'add-compression-sorts-optimization' of github.com:ElderlyPassionFruit/ClickHouse into add-compression-sorts-optimization 2024-05-26 15:36:36 +00:00
Robert Schulze
b909989e0f
Polish and document stuff 2024-05-26 15:10:26 +00:00
Igor Markelov
bd02ef23e3 Merge branch 'master' into add-compression-sorts-optimization 2024-05-26 14:45:54 +00:00
Robert Schulze
e274b45726
Merge remote-tracking branch 'rschu1ze/master' into settings-as-qc-key 2024-05-26 14:25:13 +00:00
Robert Schulze
f182920c98
Merge remote-tracking branch 'ClickHouse/master' into redundant-inline 2024-05-26 14:21:47 +00:00
Han Fei
ee7ad460fd Merge branch 'master' into hanfei/stats_uniq 2024-05-25 18:01:21 +02:00
Kseniia Sumarokova
31fd4f5eb4
Merge pull request #59767 from ClickHouse/use-iobject-storage-for-table-engines-1
Unite s3/hdfs/azure storage implementations into a single class working with IObjectStorage. Same for *Cluster, data lakes and Queue storages.
2024-05-25 09:35:55 +00:00
jsc0218
ad08d40c35
Merge pull request #64212 from jsc0218/BetterLWDProjException
Better Exception Message in Delete Table with Projection
2024-05-25 02:27:37 +00:00
Alexander Tokmakov
6725168b98 better code, add warning 2024-05-25 04:14:36 +02:00
Alexander Tokmakov
93b4a66a2a
Merge pull request #64207 from ClickHouse/tavplubix-patch-10
Update InterpreterCreateQuery.cpp
2024-05-24 15:53:02 +00:00
vdimir
ebaf19bf3f
Merge pull request #64298 from ClickHouse/vdimir/parallel_replicas_more_info
Print query in explain plan with parallel replicas
2024-05-24 14:59:09 +00:00
Igor Nikonov
96664c7c1a Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-24 11:38:28 +00:00
Robert Schulze
a725112c4c
Fix different hashes for reading/writing from/to query cache 2024-05-24 10:12:08 +00:00
Kseniia Sumarokova
c10fc6d80e
Merge branch 'master' into use-iobject-storage-for-table-engines-1 2024-05-24 10:46:45 +02:00
jsc0218
19cf12e205 Merge remote-tracking branch 'origin/master' into BetterLWDProjException 2024-05-24 02:33:10 +00:00
Robert Schulze
dac31fb92a
Include settings into query cache key 2024-05-23 21:29:41 +00:00
Robert Schulze
0bfa56b468
Merge pull request #64199 from rschu1ze/fix-64136
Query Cache: Consider identical queries against different databases as different
2024-05-23 20:52:32 +00:00
Alexander Tokmakov
73f42b0858 add clusters with replicas from all replica groups 2024-05-23 21:19:05 +02:00
Alexander Tokmakov
ccea272ca4
Merge branch 'master' into tavplubix-patch-10 2024-05-23 19:31:17 +02:00
Eduard Karacharov
c7aa283b7a Update src/Interpreters/TreeCNFConverter.h
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2024-05-23 19:04:09 +03:00
Eduard Karacharov
91c1456141 CNF with mutually exclusive atoms reduction fix 2024-05-23 19:03:56 +03:00
kssenii
3004f0b63d Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-23 16:51:46 +02:00
vdimir
8df4da5efa
Print query in explain plan with parallel replicas 2024-05-23 14:21:38 +00:00
Kruglov Pavel
30dce7821c
Merge pull request #63058 from Avogar/dynamic-data-type
Implement Dynamic data type
2024-05-23 14:19:46 +00:00
Robert Schulze
f872ad8b0d
Merge remote-tracking branch 'rschu1ze/master' into fix-64136 2024-05-23 12:34:32 +00:00
Raúl Marín
d2231732bb
Merge pull request #64174 from Algunenano/create_as_mv_logical
Prevent LOGICAL_ERROR on CREATE TABLE as MaterializedView
2024-05-23 09:12:47 +00:00
Robert Schulze
2cf1b8b2ca
Merge remote-tracking branch 'rschu1ze/master' into fix-64136 2024-05-22 21:17:35 +00:00
Robert Schulze
f792a602da
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 21:08:27 +00:00
Robert Schulze
f584807359
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-22 21:05:27 +00:00
Igor Markelov
18de8779b1 Merge branch 'master' into add-compression-sorts-optimization 2024-05-22 21:01:55 +00:00
Nikita Taranov
97376119dd create and destroy maps on thread pool 2024-05-22 20:47:39 +01:00
Igor Markelov
d0e2accd6a Add code docs 2024-05-22 15:59:36 +00:00
Igor Markelov
be4f007e9d Refactor EqualRange 2024-05-22 15:38:50 +00:00
Raúl Marín
82a851b255 Merge remote-tracking branch 'blessed/master' into create_as_mv_logical 2024-05-22 17:38:27 +02:00
Igor Nikonov
b47eb39d56 Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-22 12:38:44 +00:00
Kruglov Pavel
e53daf32a1
Merge branch 'master' into dynamic-data-type 2024-05-22 14:16:45 +02:00
kssenii
1059b51177 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-22 14:13:27 +02:00
Robert Schulze
96ebaa17d3
Merge remote-tracking branch 'rschu1ze/master' into fix-64136 2024-05-22 12:06:18 +00:00
Robert Schulze
4efed87af8
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 12:06:00 +00:00
Igor Markelov
b671b40ea8 Remove unused comment 2024-05-22 11:01:59 +00:00
Igor Markelov
eb3a08c046 Fix getCardinalityInPrtmutedRange usage 2024-05-22 10:57:57 +00:00
Francisco Javier Jurado Moreno
7123d08a69 Merge branch 'master' into fjurado-64137/feat-count-attached-views-and-dictionaries-independently 2024-05-22 12:57:13 +02:00
Igor Markelov
16b813b6a0 Add explicit types 2024-05-22 10:44:41 +00:00
Igor Markelov
84f51b9c5a Inline compareAt 2024-05-22 10:40:33 +00:00
Igor Markelov
9e42da4966 ssize_t -> size_t 2024-05-22 10:38:58 +00:00
Igor Markelov
0d6e9acf85 Remove functions from header 2024-05-22 10:29:57 +00:00
Igor Markelov
9916692ec1 Merge branch 'master' into add-compression-sorts-optimization 2024-05-22 10:28:31 +00:00
Francisco Javier Jurado Moreno
f4e8d64298 Merge branch 'master' into fjurado-64137/feat-count-attached-views-and-dictionaries-independently 2024-05-22 12:23:39 +02:00
vdimir
d1b026af92
Merge pull request #64036 from ClickHouse/vdimir/less_corrpted_data_error_codes
Better handling illegal user input not to throw unexpected of CORRUPTED_DATA errors
2024-05-22 10:11:18 +00:00
Robert Schulze
0d3aeddc93
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 07:25:00 +00:00
Robert Schulze
8286b4288d
Merge remote-tracking branch 'rschu1ze/master' into fix-64136 2024-05-22 06:08:00 +00:00
jsc0218
3f46e4e430 better exception message in delete table with projection 2024-05-22 04:35:06 +00:00
Igor Nikonov
7fc23baf63 Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-21 19:50:29 +00:00
Igor Nikonov
a7854784a0 Cleanup 2024-05-21 19:50:08 +00:00
Raúl Marín
44c4892a58
Merge pull request #64187 from azat/fix-global-profiler
Fix global query profiler
2024-05-21 19:17:47 +00:00
Alexander Tokmakov
c9d29213d8
Update InterpreterCreateQuery.cpp 2024-05-21 21:04:28 +02:00
Robert Schulze
dc749325df
Faaaaaaaaaster 2024-05-21 17:31:30 +00:00
Robert Schulze
3c4fb4f3b6
Incorporate review feedback 2024-05-21 16:22:13 +00:00
Francisco Javier Jurado Moreno
0106f558fb Update limits 2024-05-21 17:19:52 +02:00
Robert Schulze
f1f8a35bab
Fix #64136 2024-05-21 15:03:16 +00:00
kssenii
7b225ab59c Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-21 16:58:25 +02:00
Anton Popov
0ebca16da0
Merge pull request #63997 from CurtizJ/better-optimize-projection
Slightly better setting `force_optimize_projection_name`
2024-05-21 14:37:26 +00:00
Azat Khuzhin
86c77b998d Fix global query profiler
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-21 12:49:57 +02:00
Igor Nikonov
a68d72814c Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-21 10:00:47 +00:00
Francisco Javier Jurado Moreno
e1caea6ab5 Split attached table count into attached tables, views and dictionaries 2024-05-21 11:29:07 +02:00
avogar
6bba847b7d Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-data-type 2024-05-21 09:08:24 +00:00
vdimir
4b72748b2a
Better handling illegal user input not to throw unexpected of CORRUPTED_DATA errors 2024-05-21 08:53:30 +00:00
Robert Schulze
a14e58ab88
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-21 05:15:35 +00:00
Alexey Milovidov
9597b804e4
Merge pull request #63013 from azat/dist-over-dist-interserver-secret-fix
[RFC] Fix interserver secret for Distributed over Distributed from remote()
2024-05-21 06:04:30 +02:00
Alexey Milovidov
fb4e1cef84
Merge pull request #64108 from rschu1ze/move-isallascii
Move `isAllASCII` from UTFHelper to StringUtils
2024-05-21 04:30:39 +02:00
Han Fei
b8e7e99c91 Merge branch 'master' into hanfei/stats_uniq 2024-05-21 01:28:36 +02:00
Igor Nikonov
512c748b9c Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-20 20:18:47 +00:00
Raúl Marín
84459052b6 Prevent LOGICAL_ERROR on CREATE TABLE as MaterializedView 2024-05-20 21:27:24 +02:00
Igor Markelov
56786d49aa Merge branch 'master' into add-compression-sorts-optimization 2024-05-20 15:46:52 +00:00
Alexey Milovidov
f9a5102fd4
Merge pull request #64127 from ClickHouse/fix-ubsan-1
Fix UBSan error in negative positional arguments
2024-05-20 17:31:29 +02:00
Alexey Milovidov
c83f1933a3
Merge pull request #64130 from ClickHouse/more-instrumentation-index
More instrumentation around index
2024-05-20 17:26:57 +02:00
jsc0218
41dec5e4f5
Merge pull request #63487 from korowa/fix-used-dictionaries-logging
fix: empty used_dictionaries in system.query_log
2024-05-20 13:29:25 +00:00
Robert Schulze
70637b2ecf
Merge remote-tracking branch 'rschu1ze/master' into move-isallascii 2024-05-20 13:01:53 +00:00
Robert Schulze
7887ab3848
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-20 12:58:39 +00:00
Robert Schulze
2ceb8b9c8f
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-20 12:56:38 +00:00
Kruglov Pavel
ac54e754fe
Merge branch 'master' into dynamic-data-type 2024-05-20 13:49:14 +02:00
Kseniia Sumarokova
42c984df64
Merge pull request #63475 from tomershafir/disks-io-iouring-refactor-get-from-context
io_uring: refactor get reader from context
2024-05-20 10:17:32 +00:00
Alexey Milovidov
925ed89195 More instrumentation around index 2024-05-20 10:31:32 +02:00
Alexey Milovidov
f7c9fa696f Fix UBSan error in negative positional arguments 2024-05-20 09:45:23 +02:00
Alexey Milovidov
28ded4a471
Merge pull request #63632 from azat/global-query-profiler-followup
Ignore global profiler if system.trace_log is not enabled and fix really disable it for keeper standalone build
2024-05-20 08:42:25 +02:00
Robert Schulze
113bb00005
Fix clang-tidy "-readability-redundant-inline-specifier" 2024-05-19 10:23:58 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Robert Schulze
9969f9cf30
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-19 08:26:39 +00:00
Alexey Milovidov
8562d8595a This log message is better in Trace 2024-05-18 04:40:37 +02:00
Kruglov Pavel
c861ac4858
Merge branch 'master' into dynamic-data-type 2024-05-17 22:17:41 +02:00
Igor Markelov
3a171e51ac Merge branch 'master' into add-compression-sorts-optimization 2024-05-17 18:34:04 +00:00
Alexey Milovidov
8e838c2805
Merge pull request #59183 from azat/mv/extended-syntax-for-inner-table
Fix passing projections/indexes/primary key from columns list from CREATE query into inner table of MV
2024-05-17 20:21:08 +02:00
Alexey Milovidov
bd9709adee
Merge pull request #64022 from ClickHouse/fix-analyzer
Fix a typo in Analyzer
2024-05-17 20:02:13 +02:00
Igor Nikonov
7e2c5c4eef Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-17 16:27:21 +00:00
Han Fei
e9cfdc9c56 address comments 2024-05-17 17:16:49 +02:00
Robert Schulze
f266bdb88e
Fix more places 2024-05-17 14:44:17 +00:00
Sema Checherinda
9e4f41f42c
Merge pull request #60852 from azat/http_max_chunk_size
Remove http_max_chunk_size setting (too internal)
2024-05-17 11:49:04 +00:00
Robert Schulze
53e992af4f
Remove some unnecessary UNREACHABLEs 2024-05-17 11:46:07 +00:00
Igor Markelov
6fc457bc01 Remove throw 2024-05-17 11:33:08 +00:00
Igor Markelov
35e5545ba3 Fix style 2024-05-17 11:33:08 +00:00
Igor Markelov
72231facd4 Fix initializing 2024-05-17 11:33:08 +00:00
Igor Markelov
14b78e0bba Fix style 2024-05-17 11:33:07 +00:00
Igor Markelov
7d6cc8c174 Fix not to use feature 2024-05-17 11:33:07 +00:00
Igor Markelov
8d08ca4fc6 Add range for empty description 2024-05-17 11:33:07 +00:00
Igor Markelov
a9cc98eb2a Add getEqualRanges implementation 2024-05-17 11:33:07 +00:00
Igor Markelov
16c49358a7 Add base functionality 2024-05-17 11:33:07 +00:00
Alexander Gololobov
d3c9b5f521 Fix error codes 2024-05-17 13:08:50 +02:00
Han Fei
a19fb0aea5 Merge branch 'master' into hanfei/stats_uniq 2024-05-17 12:07:04 +02:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
Alexey Milovidov
0c84c5658c
Merge pull request #63656 from woodlzm/master
Add a build_id ALIAS column to trace_log to facilitate auto renaming upon detecting binary changes.
2024-05-17 04:32:26 +00:00
Alexey Milovidov
cf73866903
Merge pull request #63939 from kitaisreal/recursive-cte-distributed-fix
Recursive CTE distributed fix
2024-05-17 03:07:27 +00:00
Alexander Tokmakov
d9d6950965
Merge pull request #63549 from ClickHouse/rdb_auto_recovery
Automatically recover Replicated database if the queue got stuck
2024-05-16 22:48:58 +00:00
avogar
4b178b5d35 Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-data-type 2024-05-16 22:03:59 +00:00
Anton Popov
cd73164005 slightly better setting force_optimize_projection_name 2024-05-16 21:11:13 +00:00
Alexey Milovidov
f17f4869bc
Merge pull request #63926 from CurtizJ/fix-explain-current-transaction
Fix `EXPLAIN CURRENT TRANSACTION` query
2024-05-16 22:04:36 +02:00
Azat Khuzhin
49a52cdb3f Remove http_max_chunk_size setting (too internal)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-16 18:33:43 +02:00
kssenii
af6f124df0 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-16 16:02:35 +02:00
Sema Checherinda
64b51eceb2
Merge pull request #63831 from ClickHouse/chesema-fix-ch-disk
clickhouse disks reads server configs
2024-05-16 11:25:23 +00:00
Raúl Marín
7a9aeecb56
Merge pull request #63483 from Algunenano/async_insert_query_log_populate
Insert QueryFinish on AsyncInsertFlush with no data
2024-05-16 10:36:59 +00:00
Igor Nikonov
48ae7be85c Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-16 10:19:06 +00:00
Alexander Tokmakov
452e45cb29
Update DDLWorker.cpp 2024-05-16 11:20:06 +02:00
Maksim Kita
7ee64e55ed Recursive CTE distributed fix 2024-05-16 12:07:01 +03:00
Raúl Marín
ad5403a034
Merge pull request #63429 from Algunenano/micro_analyzer
Micro-optimizations for the new analyzer
2024-05-16 09:01:56 +00:00
Zimu Li
c0f5d70c5c
Merge branch 'ClickHouse:master' into master 2024-05-15 22:38:22 -07:00
Anton Popov
f9c1c719b9 fix explain current transaction 2024-05-16 00:04:28 +00:00
Igor Nikonov
4cdec4e877 Merge remote-tracking branch 'origin/master' into pr-plan-rewrite 2024-05-15 19:49:43 +00:00
Alexander Tokmakov
c13a0cae81 fix another bug 2024-05-15 20:33:41 +02:00
Raúl Marín
d8a2328e9e Merge remote-tracking branch 'blessed/master' into async_insert_query_log_populate 2024-05-15 20:17:09 +02:00
Alexander Tokmakov
b17bfb16cd
Merge pull request #63695 from ClickHouse/flaten-nested-is-broken-with-replicated-database
flatten_nested is broken with replicated database.
2024-05-15 16:34:03 +00:00
vdimir
bcd1c4fd28
Merge pull request #63755 from ClickHouse/vdimir/pmj_join_non_procssed_clash
Fix ILLEGAL_COLUMN in partial_merge join
2024-05-15 12:46:30 +00:00
Kruglov Pavel
413be14c43
Merge branch 'master' into dynamic-data-type 2024-05-15 13:43:04 +02:00
Sema Checherinda
c860e19380 clickhouse disks reads server configs 2024-05-15 13:41:34 +02:00
kssenii
5ede316ec5 Merge remote-tracking branch 'origin/master' into use-iobject-storage-for-table-engines-1 2024-05-15 12:52:25 +02:00
Igor Nikonov
de5ba95639 Rewrite plan for parallel replicas in planner 2024-05-14 19:22:49 +00:00
Alexander Tokmakov
9eaf9004b7 Merge branch 'master' into rdb_auto_recovery 2024-05-14 20:35:00 +02:00
Alexander Tokmakov
bc98cc212c fix 2024-05-14 20:30:49 +02:00
Zimu Li
2da80eb250
Merge branch 'ClickHouse:master' into master 2024-05-14 11:04:23 -07:00
vdimir
53383396a3
Merge pull request #63432 from p1rattttt/external_cross_join
Added possibility to do cross join in temporary file if size exceeds limits
2024-05-14 17:15:47 +00:00
Han Fei
79bbe0b587 Merge branch 'master' into hanfei/stats_uniq 2024-05-14 18:16:52 +02:00
Han Fei
bb29c3b7b4 address part of comments 2024-05-14 18:16:01 +02:00
vdimir
b872162dea
Fix ILLEGAL_COLUMN in partial_merge join 2024-05-14 11:08:41 +00:00
Zimu Li
c6eea55430
Merge branch 'ClickHouse:master' into master 2024-05-13 20:02:49 -07:00
Raúl Marín
61fb090850 Merge remote-tracking branch 'blessed/master' into micro_analyzer 2024-05-13 20:46:48 +02:00
Maxim Alexeev
9c2e1bfce6 fixed review 2024-05-13 19:39:45 +03:00
p1rattttt
0bd39b86d5
Merge branch 'ClickHouse:master' into external_cross_join 2024-05-13 19:06:59 +03:00