Raúl Marín
f3a3ec53f6
Merge pull request #56124 from den-crane/patch-64
...
Beautify `show merges`
2023-10-31 11:02:10 +01:00
Smita Kulkarni
ce36a6475d
Fixed cland tidy build
2023-10-31 10:12:31 +01:00
Han Fei
1237cef26d
address comments
2023-10-31 00:53:46 +01:00
yariks5s
c53faedc4a
style fix
2023-10-30 17:56:17 +00:00
yariks5s
03236c48ed
init
2023-10-30 16:21:50 +00:00
Denny Crane
b7a90af5e1
Update InterpreterShowTablesQuery.cpp
2023-10-30 09:36:11 -03:00
vdimir
5b01ed6698
upd
2023-10-30 11:51:31 +00:00
robot-clickhouse
cb0cf67d67
Merge pull request #56057 from amosbird/fix-56031
...
Fix missing scalar issue when evaluating subqueries inside table functions
2023-10-30 12:31:15 +01:00
Nikolai Kochetov
554ceb4e1d
Merge branch 'master' into planner-prepare-filters-for-analysis-2
2023-10-30 11:56:30 +01:00
Han Fei
19cdc6dfe2
Merge branch 'master' into hanfei/statistic
2023-10-30 04:53:18 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
...
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
Alexey Milovidov
88440d4c07
Merge pull request #54568 from JackyWoo/optimize_uniq_to_count2
...
Resubmit optimization uniq to count
2023-10-30 01:33:36 +01:00
Alexey Milovidov
64b6e68a50
Merge pull request #55683 from amosbird/issue-55653
...
Reuse granule during skip index reading
2023-10-30 00:51:51 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader"
2023-10-29 19:50:39 +03:00
Alexey Milovidov
70e3dd808c
Granular code coverage with introspection
2023-10-29 02:07:24 +01:00
Alexey Milovidov
744b1db084
Merge pull request #56090 from ClickHouse/intervals_comparison
...
Throw an error when comparing time intervals with different units
2023-10-28 14:56:55 +02:00
Alexey Milovidov
d9a18faab8
Merge pull request #55679 from ClickHouse/allow-final-custom-key-parallel-replicas
...
Allow FINAL with parallel replicas with custom key
2023-10-28 00:40:03 +02:00
Alexey Milovidov
6eb89ac785
Merge remote-tracking branch 'origin/master' into intervals_comparison
2023-10-27 23:05:55 +02:00
Alexey Milovidov
fbb919c269
Fix typo
2023-10-27 23:05:46 +02:00
Bharat Nallan Chakravarthy
c892e2c01d
add hostname column to remaining tables
2023-10-27 11:02:51 -07:00
Bharat Nallan Chakravarthy
1285ee74df
add hostname to few more tables
2023-10-27 11:02:51 -07:00
Bharat Nallan Chakravarthy
d86b751283
fix tests
2023-10-27 11:02:51 -07:00
Bharat Nallan Chakravarthy
382487a52b
add hostname field to system log tables
2023-10-27 11:02:51 -07:00
Amos Bird
3eca59d62d
Revert "Fix error code"
...
This reverts commit ca4fa430b3
.
2023-10-27 23:46:43 +08:00
vdimir
659dfbfc3d
fix
2023-10-27 15:22:11 +00:00
vdimir
60c93cefbe
Add test for CHECK ALL TABLES
2023-10-27 15:22:11 +00:00
vdimir
faffdba8a2
Split source and worker processors in InterpreterCheckQuery
2023-10-27 15:22:10 +00:00
vdimir
c1ae369919
wip CHECK query for all tables
2023-10-27 15:22:10 +00:00
Amos Bird
ca4fa430b3
Fix error code
2023-10-27 21:30:48 +08:00
frinkr
18c50c11b3
Multithreading after window functions ( #50771 )
...
* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing
* fix style
* fix style
* fix style
* setting query_plan_preserve_num_streams_after_window_functions default true
* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0
* fix test references
* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).
* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing
* fix style
* fix style
* fix style
* setting query_plan_preserve_num_streams_after_window_functions default true
* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0
* fix test references
* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).
* add perf test
* perf: change the dataset from 50M to 5M
* rename query_plan_preserve_num_streams_after_window_functions -> query_plan_enable_multithreading_after_window_functions
* update test reference
* fix clang-tidy
---------
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-10-27 12:36:28 +02:00
serxa
62f51166b0
fix conflicts
2023-10-27 09:07:05 +00:00
Sergei Trifonov
a5d7c2b6a2
Merge branch 'master' into async-loader-integration
2023-10-27 10:39:12 +02:00
Amos Bird
829fc61e77
Add scalars in all cases
2023-10-27 01:41:02 +08:00
Alexander Tokmakov
c588a7f386
Merge branch 'master' into make_code_worse
2023-10-26 17:39:10 +02:00
robot-ch-test-poll
da42f2eb0f
Merge pull request #55887 from ucasfl/fix-union-distinct
...
Fix normalize ASTSelectWithUnionQuery strip FORMAT of the query
2023-10-26 13:53:58 +02:00
vdimir
1d5f75fd71
Merge pull request #53404 from ClickHouse/vdimir/check_table_improvements2
...
Improve CHECK TABLE system query, support checking part
2023-10-26 10:57:44 +02:00
robot-ch-test-poll3
90c8efa23f
Merge pull request #55979 from kitaisreal/add-show-setting-query
...
Add SHOW SETTING query
2023-10-26 09:09:25 +02:00
Nikolay Degterinsky
3c690337ec
Improvements
2023-10-26 03:17:30 +00:00
Alexey Milovidov
bb5a60dc19
Merge pull request #55893 from ClickHouse/revert-partial-result-2
...
Revert "Revert "Revert "Add settings for real-time updates during query execution"""
2023-10-25 22:20:28 +02:00
Maksim Kita
901294d352
Fixed code review issues
2023-10-25 21:41:26 +03:00
Alexander Tokmakov
0f4260bf26
fix some bad code by making it worse
2023-10-25 19:51:51 +02:00
Maksim Kita
82d4d52b06
Add SHOW SETTING query
2023-10-25 18:49:00 +03:00
flynn
229762e4c1
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct
2023-10-25 13:10:56 +00:00
Raúl Marín
6068277af9
Merge pull request #55815 from jetgm/master
...
Add SHOW MERGES
2023-10-25 11:44:30 +02:00
Robert Schulze
665dfe6135
Merge pull request #55278 from kitaisreal/context-added-tsa
...
Context added TSA
2023-10-25 10:41:00 +02:00
Raúl Marín
bee9eb5df4
Merge pull request #55962 from Algunenano/show_databases_limit
...
Fix `SHOW DATABASES LIMIT <N>`
2023-10-25 10:27:43 +02:00
Smita Kulkarni
d6c63e07ce
Fixed expression
2023-10-25 10:23:22 +02:00
Smita Kulkarni
efbcac4e60
Bug fix explain ast with parameterized view
2023-10-25 10:21:06 +02:00
jetgm
ca766e3033
update doc and change order by
2023-10-25 11:08:25 +08:00
serxa
08e63f2a24
fix build
2023-10-24 21:49:15 +00:00
李扬
465962df7f
Support orc filter push down (file + stripe + rowgroup level) ( #55330 )
...
* support orc filter push down
* update orc lib version
* replace setqueryinfo with setkeycondition
* fix issue https://github.com/ClickHouse/ClickHouse/issues/53536
* refactor source with key condition
* fix building error
* remove std::cout
* update orc
* update orc version
* fix bugs
* improve code
* upgrade orc lib
* fix code style
* change as requested
* add performance tests for orc filter push down
* add performance tests for orc filter push down
* fix all bugs
* fix default as null issue
* add uts for null as default issues
* upgrade orc lib
* fix failed orc lib uts and fix typo
* fix failed uts
* fix failed uts
* fix ast fuzzer tests
* fix bug of uint64 overflow in https://s3.amazonaws.com/clickhouse-test-reports/55330/de22fdcaea2e12c96f300e95f59beba84401712d/fuzzer_astfuzzerubsan/report.html
* fix asan fatal caused by reused column vector batch in native orc input format. refer to https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__asan__[4_4].htm
* fix wrong performance tests
* disable 02892_orc_filter_pushdown on aarch64. https://s3.amazonaws.com/clickhouse-test-reports/55330/be39d23af2d7e27f5ec7f168947cf75aeaabf674/stateless_tests__aarch64_.html
* add some comments
* add some comments
* inline range::equals and range::less
* fix data race of key condition
* trigger ci
2023-10-24 12:08:17 -07:00
Maksim Kita
0e176fa0ed
Fixed code review issues
2023-10-24 19:39:25 +03:00
Robert Schulze
1375733643
Merge pull request #55955 from rschu1ze/test-bug-43644
...
Test for Bug 43644
2023-10-24 16:16:52 +02:00
Kruglov Pavel
62b154930a
Merge pull request #53504 from filimonov/ignore_max_distributed_connections_for_async_remote
...
Disable logic max_threads=max_distributed_connections when async_socket_for_remote=1
2023-10-24 14:15:21 +02:00
serxa
749cdb9954
Merge branch 'master' into async-loader-integration
2023-10-24 10:09:49 +00:00
serxa
d3f54a29e3
add startup waits in all DDL queries and global DDL worker
2023-10-24 10:09:10 +00:00
Robert Schulze
38a2ba5769
Cosmetics
2023-10-24 09:53:20 +00:00
Raúl Marín
70adb4ca17
Fix SHOW DATABASES LIMIT <N>
2023-10-24 11:42:20 +02:00
Robert Schulze
b361b8e3e3
Merge remote-tracking branch 'rschu1ze/master' into test-bug-43644
2023-10-24 08:53:10 +00:00
Robert Schulze
db1cca592e
Test for Bug 43644
2023-10-23 20:47:58 +00:00
Kseniia Sumarokova
699de2317a
Merge pull request #55863 from jrdi/describe-load-metadata-threads
...
Add load_metadata_threads to describe filesystem cache
2023-10-23 21:40:52 +02:00
vdimir
643fef589d
Revert "[remove before merging] Shuffle CHECK TABLE results"
...
This reverts commit 8bb2378952
.
2023-10-23 12:33:36 +00:00
Duc Canh Le
5923e1b116
Cache cast function in set during execution ( #55712 )
...
* Cache cast function in set during execution
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
* minor fix for performance test
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
* Update src/Interpreters/castColumn.cpp
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
* improvement
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
* fix use-after-free
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
---------
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-10-23 13:31:44 +02:00
vdimir
8bb2378952
[remove before merging] Shuffle CHECK TABLE results
2023-10-23 10:56:06 +00:00
vdimir
3332f70275
upd
2023-10-23 10:56:06 +00:00
vdimir
d254c4e4a0
Do no check ast in InterpreterCheckQuery to use max_threads
2023-10-23 10:13:26 +00:00
vdimir
8f0d7954ff
IStorage::checkDataNext returns optional
2023-10-23 10:12:30 +00:00
vdimir
9d840c6532
Use single thread for check table with check_query_single_value_result=0
2023-10-23 09:36:41 +00:00
vdimir
fe95c0d0e4
Improve CHECK TABLE system query
...
Resubmit PR #52745
2023-10-23 09:35:26 +00:00
Maksim Kita
d363e062f1
Updated implementation
2023-10-23 12:00:29 +03:00
Maksim Kita
ba37880208
Context added TSA
2023-10-23 12:00:29 +03:00
Jordi Villar
839c05e3b8
Add load_metadata_threads to describe filesystem cache
2023-10-23 09:01:12 +02:00
jetgm
6fbc5277b6
improve query
2023-10-23 09:56:19 +08:00
flynn
b42c633706
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct
2023-10-22 16:00:12 +00:00
Alexey Milovidov
7ec4b99e94
Revert partial result
2023-10-21 03:14:22 +02:00
Alexey Milovidov
3d0631a37d
Merge pull request #55871 from Algunenano/predicate_pushdown
...
Disable predicate pushdown if the CTE contains stateful functions
2023-10-21 01:36:24 +02:00
Aleksei Filatov
0a1f3f205c
Add external HTTP Basic authenticator ( #55199 )
2023-10-20 19:24:19 +02:00
Anton Popov
5819bcd07a
Support asynchronous inserts for native protocol ( #54730 )
...
* support async insert for native protocol
* use separate queue for async inserts via native protocol
* fix test
* better logging for async inserts and more tests
* disable mixed internal and external data in async inserts
* fix tests
* fix quota in async inserts
* disable async insert for secondary query of distributed
2023-10-20 18:39:48 +02:00
flynn
fda36deec3
Fix normalize ASTSelectWithUnionQuery strip FORMAT of the query
2023-10-20 16:33:21 +00:00
Raúl Marín
c690a3af8b
Disable predicate pushdown if the CTE contains stateful functions
2023-10-20 15:04:42 +02:00
Azat Khuzhin
6da75a47c5
Fix "Cannot find column X in source stream" for Distributed queries with LIMIT BY
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-19 18:38:29 +02:00
Raúl Marín
4a53943926
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-19 15:20:50 +00:00
Raúl Marín
3873a935f4
Merge pull request #55739 from Algunenano/use_default_format_on_http_exception
...
Respect default format when using http_write_exception_in_output_format
2023-10-19 13:47:36 +02:00
jetgm
bde5c5a4a8
add show merges
2023-10-19 18:17:28 +08:00
Robert Schulze
8b1e7a1ea1
Merge pull request #55771 from zhongyuankai/only_cache_initial_query
...
Query Cache: Only cache initial query
2023-10-18 22:55:52 +02:00
Kseniia Sumarokova
4e0122a299
Merge pull request #54422 from kssenii/s3-queue-fixes
...
Fixes for storage `S3Queue`
2023-10-18 21:51:51 +02:00
zhongyuankai
d73afed7d5
fix style
2023-10-18 23:09:38 +08:00
Robert Schulze
945dcb865a
Merge pull request #55617 from slvrtrn/mysql-string-blob-vs-text-config
...
MySQL compatibility: allow to configure String/FixedString BLOB vs TEXT mapping
2023-10-18 10:57:18 +02:00
huzhicheng
0b52d29cd8
Query Cache: Only cache initial query
2023-10-18 16:56:17 +08:00
Amos Bird
602f01f651
Reuse granule during skip index reading
2023-10-18 14:40:34 +08:00
slvrtrn
c19ca5c4d5
Address PR feedback
2023-10-17 19:19:35 +02:00
kssenii
5d8b1cea91
Fix
2023-10-17 19:19:19 +02:00
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +02:00
vdimir
b5693d3fa6
Merge pull request #55602 from ClickHouse/vdimir/fix_cyclic_aliases_crash
...
Fix crash in QueryNormalizer with cyclic aliases
2023-10-17 16:31:37 +02:00
Han Fei
d2ac16749a
refinement
2023-10-17 16:25:01 +02:00
Raúl Marín
b4a4c1e02e
Only change headers if necessary
2023-10-17 16:02:06 +02:00
Raúl Marín
e500dc22e4
Respect default format when using http_write_exception_in_output_format
2023-10-17 14:14:58 +02:00
kssenii
d837aa675f
Fix
2023-10-17 13:14:28 +02:00
kssenii
8cff5f5bdb
Merge remote-tracking branch 'origin/fs-cache-improvement' into fs-cache-improvement
2023-10-17 11:44:26 +02:00
kssenii
7515853ad4
Fix build
2023-10-17 11:43:51 +02:00
Robert Schulze
96a82df75a
Merge pull request #55616 from HarryLeeIBM/hlee-fts-max-rows
...
Inverted index: Replace setting density with `max_rows_in_postings_list`
2023-10-17 11:36:46 +02:00
Raúl Marín
3eaf752284
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-17 11:36:39 +02:00
HarryLeeIBM
fb8cd298d1
Code refactoring according to code review
2023-10-16 17:52:39 -07:00
Kseniia Sumarokova
96c518be5b
Merge branch 'master' into s3-queue-fixes
2023-10-16 22:19:13 +02:00
Kseniia Sumarokova
6889e04f10
Merge branch 'master' into fs-cache-improvement
2023-10-16 22:18:00 +02:00
robot-ch-test-poll1
aca98cf725
Merge pull request #53774 from helifu/master13
...
Display reloaded values of server settings
2023-10-16 21:17:17 +02:00
kssenii
09072097ec
Better
2023-10-16 17:09:12 +02:00
serxa
e214b73844
create async_loader once
2023-10-16 14:57:06 +00:00
Antonio Andelic
55b8b1440d
Allow FINAL with parallel replicas with custom key
2023-10-16 14:04:05 +00:00
Raúl Marín
f799f5d7a1
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-16 15:07:11 +02:00
serxa
0e17da22eb
Merge branch 'master' into async-loader-integration
2023-10-16 11:08:29 +00:00
kssenii
43c5e173de
Merge remote-tracking branch 'upstream/master' into fs-cache-improvement
2023-10-16 13:06:28 +02:00
vdimir
d7c77420b6
QueryNormalizer only checks stack size
2023-10-16 10:33:04 +00:00
Kseniia Sumarokova
a4bd6891e1
Merge pull request #55164 from ClickHouse/vdimir/fix_file_cache_tmp_write_buffer
...
Fix file cache temporary file segment range in FileSegment::reserve
2023-10-16 11:44:46 +02:00
alesapin
697c1e3bb0
Merge pull request #55604 from ClickHouse/evillique-partition-parameters
...
Implement query paramenters support in partition expression
2023-10-16 10:26:02 +02:00
Antonio Andelic
b6b92f46cc
Merge pull request #55541 from ClickHouse/sample-segfault
...
Better exception messages but without SEGFAULT
2023-10-16 08:43:52 +02:00
alesapin
3b02748cb6
Fix some typos
2023-10-15 15:43:02 +02:00
Alexey Milovidov
50ee412b19
Merge pull request #55625 from ClickHouse/preparation-key-condition
...
KeyCondition: preparation
2023-10-14 22:13:39 +02:00
Alexey Milovidov
0a3e431c87
Additional changes
2023-10-14 04:50:30 +02:00
Alexey Milovidov
6d8f28aad0
Merge branch 'master' into better-depth-check
2023-10-14 01:48:59 +02:00
slvrtrn
447631976e
Add MySQL String BLOB vs TEXT configuration
2023-10-13 20:36:14 +02:00
HarryLeeIBM
25545d504d
Replace setting density to max_rows_in postings_list for full text search
2023-10-13 10:31:21 -07:00
Alexander Tokmakov
3e60451ac7
Revert "Merge pull request #54421 from evillique/cluster-groups"
...
This reverts commit 211c80e1a0
, reversing
changes made to b53a98217c
.
2023-10-13 18:55:51 +02:00
Mikhail f. Shiryaev
e816ec7d6a
Merge branch 'master' into vdimir/fix_file_cache_tmp_write_buffer
2023-10-13 18:15:52 +02:00
Alexander Tokmakov
f95b0eb553
Merge pull request #54828 from canhld94/ddl_worker_host_cache
...
Caching skip-able entries in DDLWorker
2023-10-13 17:34:15 +02:00
alesapin
47d48d81e0
Implement feature
2023-10-13 16:22:18 +02:00
vdimir
ba5cd016dd
Fix crash in QueryNormalizer with cyclic aliases
2023-10-13 14:03:36 +00:00
Dmitry Novik
d4be706ed4
Merge remote-tracking branch 'origin/master' into parallel-window
2023-10-13 13:20:38 +00:00
Raúl Marín
c5bd29792a
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-13 15:05:47 +02:00
Antonio Andelic
a83ebb1862
Merge branch 'master' into sample-segfault
2023-10-13 12:53:32 +00:00
kssenii
a9c0c20cad
Update documentation
2023-10-13 13:21:50 +02:00
kssenii
bfe174f71b
Fix test
2023-10-13 12:57:57 +02:00
vdimir
e64abfc557
Merge pull request #49555 from ClickHouse/vdimir/analyzer_fix_join_tests
...
Fixing join tests with analyzer
2023-10-13 12:29:58 +02:00
kssenii
d64b990712
Merge remote-tracking branch 'origin/master' into s3-queue-fixes
2023-10-13 12:13:56 +02:00
Raúl Marín
500dab9569
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-13 10:12:57 +02:00
Dmitry Novik
cec02c60e8
Merge remote-tracking branch 'origin/master' into parallel-window
2023-10-12 22:45:30 +00:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
...
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Nikolay Degterinsky
20e16be27b
Fixes & improvements
2023-10-12 15:02:08 +00:00
Han Fei
42dc61abf5
Merge branch 'master' into hanfei/statistic
2023-10-12 16:19:45 +02:00
Antonio Andelic
470c858f21
Update src/Interpreters/InterpreterSelectQuery.cpp
2023-10-12 16:06:00 +02:00
vdimir
3aac663bd2
fix
2023-10-12 10:46:58 +00:00
vdimir
dcdcdc5a86
fix style check
2023-10-12 10:45:57 +00:00
vdimir
94fa777b8d
Fix 01890_materialized_distributed_join
...
Function getHeaderForProcessingStage handle join on top of query tree
2023-10-12 10:45:57 +00:00
Antonio Andelic
5d5d4a8443
Check if storage is nullptr
2023-10-12 09:50:04 +00:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
...
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
Robert Schulze
7b14392675
Merge pull request #55481 from rschu1ze/better-use-mysql-types-in-show-columns
...
Make `use_mysql_types_in_show_columns` affect only `SHOW COLUMNS`
2023-10-12 00:36:46 +02:00
Robert Schulze
db75a41d10
+ comment
2023-10-11 15:50:13 +00:00
Robert Schulze
a7c7a25e0f
Fix a leftover
2023-10-11 15:49:16 +00:00
Igor Nikonov
62060a0603
Merge remote-tracking branch 'origin/master' into pr-coordinator-usage-cleanup
2023-10-11 15:11:15 +00:00
Igor Nikonov
9d95f4e1b6
Cleanup: parallel replica coordinator usage
2023-10-11 15:04:59 +00:00
Robert Schulze
9d04d3c3ad
Merge remote-tracking branch 'rschu1ze/master' into better-use-mysql-types-in-show-columns
2023-10-11 15:04:03 +00:00
robot-ch-test-poll1
80aa9cad51
Merge pull request #55479 from slvrtrn/fix-mysql-datetime-incompatibilities
...
Fix MySQL text protocol DateTime formatting and LowCardinality(Nullable(T)) types reporting
2023-10-11 16:56:26 +02:00
Raúl Marín
0b9bd809e7
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-11 16:50:22 +02:00
Robert Schulze
9741e7b175
Fix style
2023-10-11 14:32:42 +00:00
robot-clickhouse-ci-2
1a601759e4
Merge pull request #55467 from ClickHouse/revert-54840-revert-54791-hanfei/duplicate_index
...
Revert "Revert "refine error code of duplicated index in create query""
2023-10-11 16:22:27 +02:00
Yakov Olkhovskiy
0738984edf
Merge pull request #42510 from ClibMouse/Kusto-phase2-oss-pr
...
Support Kusto Query Language dialect - phase 2
2023-10-11 08:35:26 -04:00
Robert Schulze
380ba7c9e5
Rewrite to avoid CYCLIC_ALIAS errors
2023-10-11 12:11:44 +00:00
凌涛
21afc422dd
Merge branch 'master' into feature/function-getClientHttpHeader
2023-10-11 12:01:25 +08:00
Robert Schulze
bd43b84bf8
Make use_mysql_types_in_show_columns affect only SHOW COLUMNS
2023-10-10 23:09:49 +00:00
slvrtrn
e06d3ca1a5
Fix MySQL text protocol DateTime
...
Introduce `removeLowCardinalityAndNullable` function
Fix incorrect removeLowCar/removeNullable usages
Add more MySQL text protocol tests
Deprecate old Java client tests
Use JDK 17 for test MySQL Java container
2023-10-10 19:51:09 +02:00
Raúl Marín
95d2063e91
Merge remote-tracking branch 'blessed/master' into parallel_replicas_row_estimation
2023-10-10 17:29:45 +02:00
Nikita Mikhaylov
4456fe40f9
Remove the old code for projection analysis ( #55112 )
2023-10-10 17:13:32 +02:00
Han Fei
bb204ed0bd
refine exception messages
2023-10-10 15:46:52 +02:00
Han Fei
3757bcf2cf
Revert "Revert "refine error code of duplicated index in create query""
2023-10-10 15:44:15 +02:00
Kruglov Pavel
5ded0005a3
Merge pull request #55064 from AVMusorin/system-drop-format-cache
...
Allow drop cache for Protobuf format
2023-10-10 14:23:11 +02:00
helifu
ca0c4ba147
Merge branch 'ClickHouse:master' into master13
2023-10-10 13:49:49 +08:00
凌涛
51e2e59a97
Merge remote-tracking branch 'origin/master' into feature/function-getClientHttpHeader
2023-10-10 10:56:24 +08:00
Alexey Milovidov
0094be5d43
Merge pull request #55352 from kitaisreal/context-locks-small-fixes
...
Context locks small fixes
2023-10-09 21:50:59 +02:00
Anton Popov
26a938c8cf
Merge pull request #55202 from canhld94/clickhouse_fix_too_many_marks
...
Fix recalculation of skip indexes in ALTER UPDATE queries when table has adaptive granularity
2023-10-09 19:24:59 +02:00
Han Fei
fcb19b4f77
Merge branch 'master' into hanfei/statistic
2023-10-09 14:24:58 +02:00
Maksim Kita
5d5db60aed
Fixed code review issues
2023-10-09 13:23:16 +03:00
Aleksandr Musorin
8d0c961af0
Allow drop cache for protobuf format
...
Before it was impossible to update Protobuf schema without server
restart. With this commit, it is enough to send query `SYSTEM DROP
SCHEMA FORMAT CACHE [FOR Protobuf]`.
2023-10-09 10:41:15 +02:00
Alexey Milovidov
b619d07baf
Merge pull request #55353 from ClickHouse/fix-garbage-2
...
Fix trash optimization (up to a certain extent)
2023-10-09 02:42:56 +02:00
Alexey Milovidov
b6d4ae51c6
Better recursion depth check
2023-10-09 02:40:47 +02:00
Alexey Milovidov
2aaddcce18
Better exception messages
2023-10-08 22:54:33 +02:00
Alexey Milovidov
ca7bf062e0
Fix garbage
2023-10-08 21:53:26 +02:00
Robert Schulze
d4e7fa2542
Merge pull request #55123 from garcher22/untuple
...
Use the tuple element names as column names in `untuple()`
2023-10-08 20:14:29 +02:00
Maksim Kita
f0643a2311
Context locks small fixes
2023-10-08 19:55:45 +03:00
Robert Schulze
8c35ccf9e8
Some fixups
2023-10-08 10:29:46 +00:00
Kseniia Sumarokova
20868f3b65
Merge pull request #55252 from kssenii/fix-background-download-in-cache
...
Fix for background download in fs cache
2023-10-08 10:38:23 +02:00
robot-ch-test-poll1
59a3b3356f
Merge pull request #55296 from rschu1ze/qc-better-logging
...
Improve logging in query cache
2023-10-07 17:59:19 +02:00
kssenii
1a839adec7
Add one more try-catch
2023-10-07 15:31:15 +02:00
kssenii
d7c5caef92
Better
2023-10-07 15:23:32 +02:00
kssenii
c7a3c74cde
Better
2023-10-07 15:22:13 +02:00
Robert Schulze
a72ae92328
Make the logging in the query cache easier to understand
2023-10-07 11:33:11 +00:00
kssenii
74a34a73de
Merge remote-tracking branch 'upstream/master' into fs-cache-improvement
2023-10-07 13:09:42 +02:00
alesapin
e55a615f06
Merge pull request #55253 from vitlibar/fix-async-insert-access-check-for-defaults
...
Evaluate defaults during async insert safer
2023-10-07 12:26:35 +02:00
kssenii
289020f454
Merge remote-tracking branch 'upstream/master' into fix-background-download-in-cache
2023-10-07 12:19:33 +02:00
JackyWoo
d23d976f57
Merge branch 'master' into optimize_uniq_to_count2
2023-10-07 09:04:57 +08:00
kssenii
9df0b8f67c
Fix
2023-10-06 12:41:37 +02:00
Duc Canh Le
bea4a4eb85
Merge branch 'master' into clickhouse_fix_too_many_marks
...
rebase and re-trigger CI
2023-10-06 09:45:48 +00:00
Vitaly Baranov
cf7eea569b
Fix quota consumption
2023-10-05 15:46:36 +02:00
Kseniia Sumarokova
68a3cd57a1
Fix data race in context
2023-10-05 15:29:56 +02:00
vdimir
406dfe277c
fix style
2023-10-05 11:58:00 +02:00
Vitaly Baranov
a54d3f31e4
Add new fields to InsertQuery::hash and operator ==
2023-10-05 11:03:05 +02:00
kssenii
c57a92f5fc
Better
2023-10-05 10:50:57 +02:00
Vitaly Baranov
76766a200e
Fix access checking in evaluations of defaults during async insert.
2023-10-05 10:26:44 +02:00
Duc Canh Le
ae417ef39c
adding comments
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-05 07:49:17 +00:00
kssenii
d13588e130
Fix
2023-10-05 09:41:17 +02:00
Nikolai Kochetov
d944b59902
Merge branch 'master' into planner-prepare-filters-for-analysis-2
2023-10-03 14:28:16 +00:00
Nikolai Kochetov
3b757d60a2
Remove commented code.
2023-10-03 14:22:20 +00:00
Nikolai Kochetov
b67a0fe344
Merge pull request #55121 from kitaisreal/context-lock-contention-fix
...
Context lock contention fix
2023-10-03 11:17:59 +02:00
robot-ch-test-poll
e06f72ee55
Merge pull request #54052 from VanDarkholme7/missing_subcolumns
...
Support missed Object(Nullable(json)) subcolumns in query.
2023-10-03 10:32:51 +02:00
Duc Canh Le
a09c53233b
only rebuild indexes when index granularity changes
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-03 01:27:45 +00:00
vdimir
8b119f03cb
Merge branch 'master' into vdimir/fix_file_cache_tmp_write_buffer
2023-10-02 14:56:37 +02:00
Nikita Taranov
97e705325b
Optimise memory consumption when external group by generates ton of temporary files ( #54798 )
...
* impl
* fix
* fix test
2023-10-02 13:09:40 +02:00
Maksim Kita
71cb6457de
Fixed code review issues
2023-10-02 13:53:17 +03:00
Duc Canh Le
0064d3637f
rebuild indexes and projections when UPDATE compact parts with index_granularity_bytes > 0
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-02 07:36:57 +00:00
filimonov
bff832c7f0
Disable logic max_threads=max_distributed_connections when async_socket_for_remote=1
...
See #53287
2023-10-02 08:34:46 +02:00
Gabriel Archer
00da4e01c0
tabs
2023-09-30 14:11:10 +02:00
Gabriel Archer
b89ff6ee6c
tabs
2023-09-30 13:27:32 +02:00
Gabriel Archer
a6968a9a02
simpler
2023-09-30 13:14:09 +02:00
robot-ch-test-poll
f5542e1cad
Merge pull request #55129 from CurtizJ/describe-virtuals
...
Allow to include virtual columns into `DESCRIBE` query
2023-09-29 23:29:58 +02:00
vdimir
c64e5e282c
Fix file cache temporary file segment range in FileSegment::reserve
2023-09-29 17:49:58 +00:00
kssenii
a72541d93f
Improvement for big reads
2023-09-29 19:03:00 +02:00
Anton Popov
9b0e222cd2
allow to include virtual columns into DESCRIBE query
2023-09-29 11:08:46 +00:00
Kseniia Sumarokova
0b71fd0050
Merge pull request #55002 from kssenii/fix-broken-test
...
Fix broken test
2023-09-29 11:13:31 +02:00
Gabriel
81cbe2a819
Use the tuple element names as column names in untuple()
2023-09-29 10:51:03 +02:00
Maksim Kita
07b9b5d7dd
Context lock contention fix
2023-09-29 11:16:47 +03:00
avogar
e8ea41e2d4
Add setting to print pretty deep nested Tuples
2023-09-28 22:17:44 +00:00
Sema Checherinda
f73eef9ed8
Merge pull request #54697 from CheSema/s3_retry_cancelation_point
...
add cancelation point to s3 retries
2023-09-28 19:01:09 +02:00
kssenii
4a7922507b
Minor changes
2023-09-28 16:18:00 +02:00
Sema Checherinda
a1afab5308
add comment
2023-09-28 12:50:11 +02:00
vdimir
ea1ab52f60
fix
2023-09-28 09:13:01 +00:00
vdimir
9b4cf43fe4
Store NULL in scalar result map for empty subquery result
2023-09-28 09:12:57 +00:00
Amos Bird
51f603bdfc
Rename as suggested.
2023-09-28 15:11:56 +08:00
Amos Bird
056b2693a3
Reorganize combinators into dedicated folder
2023-09-28 15:11:55 +08:00
Yong Wang
8c9da6bacf
Merge remote-tracking branch 'origin/master' into Kusto-phase2-oss-pr
2023-09-27 22:35:14 -07:00
Alexey Milovidov
cc96a53c5a
Merge pull request #55053 from kssenii/update-unit-test
...
Update gtest_lru_file_cache.cpp
2023-09-28 02:40:42 +03:00
Sema Checherinda
31ea4052d0
cut the build dependency between commin_io and other libraries
2023-09-28 00:15:36 +02:00
Sema Checherinda
5fdca302e6
fix build, resolve process_list_elem race
2023-09-28 00:15:36 +02:00
Sema Checherinda
e629a17218
add cancelation point to s3 retries
2023-09-28 00:15:06 +02:00
kssenii
42783894b7
Add comments
2023-09-27 20:07:19 +02:00
Robert Schulze
2d750e9e2f
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-reenable-checks
2023-09-27 12:15:29 +00:00
kssenii
3cbc1a3335
Update unit test
2023-09-27 11:57:47 +02:00
凌涛
0d256a381a
add doc
...
fix tests
modify code stype and spelling
add tests and modify code style
2023-09-27 17:03:53 +08:00
JackyWoo
826f7ac7eb
Merge branch 'master' into optimize_uniq_to_count2
2023-09-27 09:14:28 +08:00
JackyWoo
c40558a961
Fix uniq function name
2023-09-27 09:14:24 +08:00
robot-ch-test-poll4
9aab5f40ac
Merge pull request #55029 from kitaisreal/profile-events-context-lock-wait-microseconds
...
ProfileEvents added ContextLockWaitMicroseconds
2023-09-26 23:03:08 +02:00
Han Fei
4e7745f757
Merge branch 'master' into hanfei/statistic
2023-09-26 21:43:53 +02:00
Robert Schulze
cde10fe7b5
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-reenable-checks
2023-09-26 18:59:41 +00:00
Alexey Milovidov
29d3b34dfc
Merge pull request #54090 from ClickHouse/remove-current-status
...
Remove CurrentStatusInfo
2023-09-26 21:38:07 +03:00
Han Fei
8cb9fe0154
refine code
2023-09-26 19:16:01 +02:00
Maksim Kita
eb1b3e6a3a
ProfileEvents added ContextLockWaitMicroseconds
2023-09-26 19:08:22 +03:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication ( #41109 )
...
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
kssenii
14b09d3cdc
Add caching
2023-09-26 16:23:24 +02:00
Antonio Andelic
e7c8363f6f
Merge pull request #48855 from ClickHouse/keeper-operation-create-if-not-exists
...
Implement `createIfNotExists` in Keeper natively
2023-09-26 16:04:51 +02:00
Kruglov Pavel
69a17bbef6
Merge pull request #52853 from Avogar/http-valid-json-on-exception
...
Output valid JSON/XML on excetpion during HTTP query execution
2023-09-26 14:25:55 +02:00
kssenii
7317ff3684
Fxi
2023-09-26 12:56:47 +02:00
Kseniia Sumarokova
745673181e
Merge pull request #54985 from kssenii/add-assertion-in-desctructor
...
Add assertion
2023-09-26 12:24:03 +02:00
Robert Schulze
9fff447716
Re-enable clang-tidy checks
2023-09-26 09:34:12 +00:00
VanDarkholme7
9d74502488
Merge branch 'ClickHouse:master' into missing_subcolumns
2023-09-26 13:48:16 +08:00
JackyWoo
d03bf3d53a
use lower case
2023-09-26 09:33:51 +08:00
JackyWoo
b65f709e3b
Merge branch 'master' into optimize_uniq_to_count2
2023-09-26 09:30:46 +08:00
kssenii
d368dda185
Remove incorrect assertion
2023-09-25 23:14:15 +02:00
kssenii
251b0165ca
Better
2023-09-25 22:55:41 +02:00
kssenii
3b54b6be88
Add system tables
2023-09-25 20:04:15 +02:00
Robert Schulze
0c490465d4
Stabilize tests
2023-09-25 17:07:48 +00:00
kssenii
59068ec59d
Add assertion
2023-09-25 13:34:47 +02:00
JackyWoo
c4ae83bddc
Merge branch 'master' into optimize_uniq_to_count2
2023-09-25 10:23:30 +08:00
Alexey Milovidov
580f3c1a01
Merge branch 'master' into remove-current-status
2023-09-24 20:56:17 +02:00
Alexey Milovidov
7bef66ae6a
Merge pull request #54436 from azat/prewhere-filter-fix
...
Fix possible incorrect result with SimpleAggregateFunction in PREWHERE and FINAL
2023-09-24 20:05:06 +03:00
robot-clickhouse-ci-2
f51cf202e3
Merge pull request #54240 from wangtZJU/fix_multi_join_rewrite
...
fix name clash for multiple join rewriter v2
2023-09-23 21:35:46 +02:00
robot-ch-test-poll4
9d61ed4665
Merge pull request #54664 from bigo-sg/arrow_join_max_block_size
...
Respect max_block_size for array join to avoid possible OOM
2023-09-23 21:30:51 +02:00
Azat Khuzhin
24c0d53df7
Fix possible incorrect result with SimpleAggregateFunction in PREWHERE and FINAL
...
In case of FINAL the result of the expression for PREWHERE can be
changed after applying merge algorithm, and this is the problem for
SimpleAggregateFunction since after applying merging algorithm the value
can be changed.
Note, analyzer does not has this bug because it simply does not reuse
columns from PREWHERE (they does not passed via
GlobalPlannerContext::createColumnIdentifier())
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: update tests references (see https://s3.amazonaws.com/clickhouse-test-reports/54436/baaa688f40fcd064952f62dc8c62ddc752dd0046/fast_test.html )
v3: allow reusing expression from PREWHERE w/o FINAL and revert tests references changes
2023-09-23 20:55:06 +02:00
robot-ch-test-poll2
4f037c2504
Merge pull request #54928 from arenadata/ADQM-1230
...
Fix data race during BackupsWorker::backup_log initialization
2023-09-23 04:56:12 +02:00
robot-clickhouse-ci-2
d98234dc9d
Merge pull request #54803 from Avogar/ephemeral-columns-from-files
...
Forbid special columns for file/s3/url/... storages, fix insert into ephemeral columns from files
2023-09-22 23:24:42 +02:00
Alexander Tokmakov
21ffbd88de
Merge pull request #54859 from ClickHouse/fix_zero_copy_locks
...
Fix zero copy locks with hardlinks
2023-09-22 18:27:03 +02:00
Antonio Andelic
176baa6695
Merge branch 'master' into keeper-operation-create-if-not-exists
2023-09-22 13:47:30 +00:00
Vitaly Baranov
3a2ca1f69c
Merge pull request #51261 from evillique/users-valid-until
...
Add VALID UNTIL clause for users
2023-09-22 12:38:30 +02:00
Victor Krasnov
fea886907d
Fix data race during backup_log initialization
2023-09-22 09:54:33 +00:00
Robert Schulze
5209bd2d51
Merge remote-tracking branch 'rschu1ze/master' into clang-17
2023-09-21 14:45:55 +00:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes
2023-09-21 14:40:57 +00:00
Pavel Novitskiy
853e3f0aa7
Add drop table IF EMPTY ( #48915 )
2023-09-21 09:20:18 -04:00
Igor Nikonov
d260b7abe4
Merge pull request #54519 from ClickHouse/parallel-replicas-not-enough-replicas
...
Disable parallel replicas on shards with not enough nodes
2023-09-21 14:07:25 +02:00
wangtao.2077
d80de4ff3a
fix name clash for multi join rewrit
2023-09-21 16:33:52 +08:00
JackyWoo
ebde8cd495
Fix NPE
2023-09-21 10:09:47 +08:00
Robert Schulze
50c51c2854
Fix new clang-tidy-s
2023-09-20 22:17:39 +00:00
Alexander Tokmakov
ec80068611
add a test for no such key
2023-09-20 22:37:24 +02:00
avogar
3e08800cb5
Forbid special columns for file/s3/url/... storages, fix insert into ephemeral columns from files
2023-09-20 16:25:55 +00:00
Dmitry Novik
bb6952317c
Merge remote-tracking branch 'origin/master' into parallel-window
2023-09-20 15:38:42 +00:00
Antonio Andelic
b65b1ee97b
Merge branch 'master' into keeper-operation-create-if-not-exists
2023-09-20 13:56:36 +00:00
Igor Nikonov
c9bf365767
Polishing
2023-09-20 13:47:11 +00:00
Igor Nikonov
4808c34f3b
Fix log message
2023-09-20 13:45:54 +00:00
Alexander Tokmakov
2ba9263098
Merge pull request #54840 from ClickHouse/revert-54791-hanfei/duplicate_index
...
Revert "refine error code of duplicated index in create query"
2023-09-20 15:44:12 +02:00
Igor Nikonov
2d446fc1ca
Merge remote-tracking branch 'origin/master' into parallel-replicas-not-enough-replicas
2023-09-20 13:40:08 +00:00
Robert Schulze
5729871605
Merge remote-tracking branch 'rschu1ze/master' into qc-throw
2023-09-20 13:25:51 +00:00
Alexander Tokmakov
06513f60eb
Revert "refine error code of duplicated index in create query"
2023-09-20 15:16:39 +02:00
Duc Canh Le
3646c9fa58
caching skip-able entries in DDLWorker
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-09-20 10:57:12 +00:00
Nikolai Kochetov
0bc41bab74
Merge pull request #54544 from kitaisreal/key-condition-in-function-different-types
...
KeyCondition IN function support different types
2023-09-20 12:54:01 +02:00
robot-clickhouse
428a689196
Merge pull request #54810 from ClickHouse/imp-invalid-identifier
...
Use appropriate error code instead of LOGICAL_ERROR
2023-09-20 12:32:00 +02:00
SmitaRKulkarni
d8adf05de2
Added a new column _block_number ( #47532 )
...
Added a new virtual column _block_number which is persisted on merges when allow_experimental_block_number_column is enabled
2023-09-20 11:31:12 +02:00
JackyWoo
e7eab472f7
Merge branch 'master' into optimize_uniq_to_count2
2023-09-20 17:29:54 +08:00
凌涛
9e3c54ddb9
add function getHttpHeader
2023-09-20 10:07:02 +08:00
Yakov Olkhovskiy
e8cd429453
add error code INVALID_IDENTIFIER
2023-09-19 22:11:58 +00:00
Igor Nikonov
e28f4e819c
Merge branch 'master' into parallel-replicas-not-enough-replicas
2023-09-19 23:05:24 +02:00
Igor Nikonov
3b4ff5a3d0
Merge branch 'master' into pr-distributed-prefer-localhost-replica
2023-09-19 23:01:30 +02:00
Robert Schulze
a15029ecb5
Query Cache: Reject queries with non-deterministic functions by default
...
https://github.com/ClickHouse/support-escalation/issues/963
2023-09-19 16:41:43 +00:00
Han Fei
17243b84ab
Merge branch 'master' into hanfei/statistic
2023-09-19 17:09:17 +02:00
Han Fei
83d1b44a3e
validate
2023-09-19 17:08:15 +02:00
Han Fei
003f5f77eb
refine error code of duplicated index in create query
2023-09-19 15:01:28 +02:00
Kruglov Pavel
e163670357
Merge branch 'master' into http-valid-json-on-exception
2023-09-19 13:42:53 +02:00
VanDarkholme7
db6e67073e
fix
2023-09-19 12:50:15 +08:00
VanDarkholme7
783b48b730
Merge branch 'ClickHouse:master' into missing_subcolumns
2023-09-19 10:33:06 +08:00
JackyWoo
231d16040b
Merge branch 'master' into optimize_uniq_to_count2
2023-09-19 10:29:03 +08:00
VanDarkholme7
78660eb859
Replace missed Object(Nullable(json)) subcolumns
2023-09-19 09:55:45 +08:00
Igor Nikonov
572249a60c
Merge branch 'master' into pr-distributed-prefer-localhost-replica
2023-09-18 21:48:21 +02:00
Kruglov Pavel
3aaaf7600c
Merge pull request #54655 from Avogar/fix-use-structure-from-insertion-table
...
Fix using structure from insertion tables in case of defaults and explicit insert columns
2023-09-18 18:54:28 +02:00
Igor Nikonov
081fa19a97
Merge branch 'master' into pr-distributed-prefer-localhost-replica
2023-09-18 18:30:49 +02:00
Igor Nikonov
047d214436
Merge remote-tracking branch 'origin/master' into parallel-replicas-not-enough-replicas
2023-09-18 15:29:56 +00:00
Igor Nikonov
c285f85cad
Fix: correct check if all shards have only 1 node
2023-09-18 14:43:10 +00:00
Antonio Andelic
69333912d5
Merge branch 'master' into keeper-operation-create-if-not-exists
2023-09-18 10:57:11 +00:00
Kruglov Pavel
9c888ea42b
Merge pull request #53549 from Avogar/group-by-constant-keys
...
Optimize group by constant keys
2023-09-18 12:12:40 +02:00
taiyang-li
39ca44b51a
Respect max_block_size for array join to avoid possible OOM
2023-09-18 11:04:38 +08:00
Igor Nikonov
fae229e3ea
Merge remote-tracking branch 'origin/master' into pr-distributed-prefer-localhost-replica
2023-09-17 21:03:56 +00:00
Igor Nikonov
a138d8a376
Use index to access shard addresses
2023-09-17 21:03:14 +00:00
Robert Schulze
f5e8028bb1
Merge pull request #54642 from rschu1ze/broken-re2st
...
Remove broken lockless variant of re2
2023-09-17 15:30:57 +02:00
avogar
a075d03f01
Fix
2023-09-15 14:28:25 +00:00
Maksim Kita
60a63212c8
Fixed tests
2023-09-15 17:04:24 +03:00
Kruglov Pavel
2075f9c667
Merge branch 'master' into group-by-constant-keys
2023-09-15 15:10:08 +02:00
Kruglov Pavel
dbd24b240c
Merge branch 'master' into http-valid-json-on-exception
2023-09-15 14:55:31 +02:00
vdimir
404ea84dc5
Handle case when clone resized block comsumes more memory, try to fix it for ColumnVector
2023-09-15 10:30:06 +00:00
avogar
7cfdd88ccf
Address comments
2023-09-15 09:32:41 +00:00
vdimir
01ee24eefa
fix
2023-09-15 09:03:09 +00:00
vdimir
40d42f4123
hash join use memory tracker delta to decide on shrink to fit
2023-09-15 09:03:08 +00:00
Alexey Milovidov
5a47803a80
Update HashJoin.h
2023-09-15 09:03:08 +00:00
vdimir
ac3c12e8b2
Shrink blocks in HashJoin on consuming half of maximum memory
2023-09-15 09:03:07 +00:00
yur3k
f6c4fba890
Made shrinkToFit interface mutable. Improved shrinkToFit implementation.
2023-09-15 09:03:07 +00:00
yur3k
e2ce8ed9aa
Added shrinkToFit methods to IColumn and Block. shrinkToFit now used unconditionally in HashJoin.
2023-09-15 09:03:06 +00:00
avogar
b9c28ef1f7
Fix for analyzer
2023-09-14 20:10:07 +00:00
avogar
93c49dfeaa
Fix using structure from insertion tables in case of defaults and explicit insert columns
2023-09-14 19:31:12 +00:00
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2
2023-09-14 16:40:42 +00:00
Sergei Trifonov
12c71be9ca
Merge branch 'master' into async-loader-integration
2023-09-14 15:29:07 +02:00
serxa
2920f04fff
do CREATE query async
2023-09-13 19:34:18 +00:00
slvrtrn
c0961d9378
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-09-13 19:33:11 +02:00
serxa
28e65883aa
rename settings
2023-09-13 12:22:46 +00:00
JackyWoo
70a262a775
Add optimization uniq to count
2023-09-13 16:16:11 +08:00
Alexey Milovidov
bd4aec0601
Revert "Optimize uniq to count"
2023-09-13 09:14:06 +03:00
Nikolay Degterinsky
268c45d900
Merge remote-tracking branch 'upstream/master' into users-valid-until
2023-09-12 23:44:22 +00:00
Igor Nikonov
7b3f32b95a
Merge pull request #54520 from ClickHouse/pr-cleanup
...
Parallel replicas: cleanup unused params
2023-09-12 19:48:18 +02:00
slvrtrn
28e2ebf9db
Merge remote-tracking branch 'refs/remotes/origin/simplified-prepared-statements-for-mysql' into simplified-prepared-statements-for-mysql
2023-09-12 18:41:36 +02:00
slvrtrn
dddea9219a
Address the review comments
2023-09-12 18:39:03 +02:00
robot-clickhouse
1c8ee76ba2
Merge pull request #54513 from Avogar/formats-with-names-no-header
...
Fix possible parsing error in WithNames formats with disabled input_format_with_names_use_header
2023-09-12 17:58:03 +02:00
Dmitry Novik
7edc0a30a3
Merge pull request #54335 from arenadata/ADQM-1109
...
Added peak_threads_usage to query_log table
2023-09-12 16:03:27 +02:00
Igor Nikonov
1287f68745
Handle clusterAllReplicas/remote cases to avoid unnecessary logging
2023-09-12 12:52:29 +00:00
slvrtrn
611a75a87f
Merge remote-tracking branch 'origin' into simplified-prepared-statements-for-mysql
2023-09-12 10:38:44 +02:00
Alexey Gerasimchuck
60c9dd226d
Update src/Interpreters/QueryLog.h
...
Co-authored-by: Dmitry Novik <mrnovikd@gmail.com>
2023-09-12 10:10:05 +10:00
Igor Nikonov
d5ea047ab8
Parallel replicas: cleanup unused params
2023-09-11 21:52:40 +00:00
Igor Nikonov
2293923f66
Disable parallel replicas on shards with not enough nodes
2023-09-11 21:46:46 +00:00
avogar
2d8f33bfa2
Fix parsing error in WithNames formats while reading subset of columns with disabled input_format_with_names_use_header
2023-09-11 14:55:37 +00:00