Alexander Tokmakov
37950a5f4e
Merge pull request #62738 from pamarcos/pamarcos/system-unload-primary-key
...
Add SYSTEM UNLOAD PRIMARY KEY
2024-04-29 21:18:01 +00:00
Raúl Marín
987558e18d
Improvements based on review
2024-04-29 20:46:37 +02:00
yariks5s
0bc664ac5b
added correct number of input ports for balancing
2024-04-29 18:21:19 +00:00
Raúl Marín
ff1c0023e8
Use TSA and mutex instead of object copy
2024-04-29 20:05:57 +02:00
Maksim Kita
d237133ec0
Recursive CTE data race fix
2024-04-29 18:29:18 +03:00
Igor Nikonov
20884efdcc
Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake
2024-04-29 13:36:13 +00:00
Raúl Marín
97c781e365
Sanity check: Clamp values instead of throwing
2024-04-29 14:34:47 +02:00
Raúl Marín
8df67eb7ed
Merge branch 'master' into optimize_rewrite_sum_if_to_count_if
2024-04-29 11:51:09 +02:00
alesapin
4701429db4
Merge pull request #62773 from hileef/fix/update/nested-columns-size-check
...
fix: update: nested materialized columns: size check fixes
2024-04-29 09:27:39 +00:00
Azat Khuzhin
3e68103ac8
Fix interserver secret for Distributed over Distributed from remote()
...
Right if you are executing remote() and later the query will
go to the cluster with interserver secret, then you should have the same
user on the nodes from that cluster, otherwise the query will fail with:
DB::NetException: Connection reset by peer
And on the remote node:
<Debug> TCPHandler: User (initial, interserver mode): new_user (client: 172.16.1.5:40536)
<Debug> TCP_INTERSERVER-Session: d29ecf7d-2c1c-44d2-8cc9-4ab08175bf05 Authentication failed with error: new_user: Authentication failed: password is incorrect, or there is no user with such name.
<Error> ServerErrorHandler: Code: 516. DB::Exception: new_user: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below):
The problem is that remote() will not use passed to it user in
any form, and instead, the initial user will be used, i.e. "cli_user"
not "query_user":
chc --user cli_user -q "select * from remote(node, default, some_dist_table, 'query_user')"
Fix this by using the user from query for the remote().
Note, that the Distributed over Distributed in case of tables still wont
work, for this you have to have the same users on all nodes in all
clusters that are involved in case of interserver secret is enabled (see
also test).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: move client initial_user adjustment into ClusterProxy/executeQuery.cpp
v3: we cannot check for interserver_mode in
updateSettingsAndClientInfoForCluster() since it is not yet
interserver in remote() context
2024-04-29 07:12:17 +02:00
Alexey Milovidov
c570316c87
Merge branch 'master' into analyzer-support-recursive-cte
2024-04-29 02:26:59 +02:00
p1rattttt
cde04df8af
Merge branch 'ClickHouse:master' into cross_join_compression
2024-04-28 23:10:43 +03:00
kssenii
3e4d9bf73a
Better result condition
2024-04-28 14:08:20 +02:00
kssenii
8c4476d7db
Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4
2024-04-28 13:36:16 +02:00
Maksim Kita
bd1189de70
Fixed tests
2024-04-28 12:52:17 +03:00
Maksim Kita
06d2c18f26
Analyzer support recursive CTEs
2024-04-28 12:52:17 +03:00
Maksim Kita
b080adb586
Fixed build
2024-04-28 12:52:05 +03:00
Maksim Kita
8ed6f4c27a
Fixed code review issues
2024-04-28 12:52:05 +03:00
Maksim Kita
bc6db79737
QueryPlan convert OUTER JOIN to INNER JOIN optimization
2024-04-28 12:52:04 +03:00
LiuNeng
4f9dba8535
Merge branch 'master' into feature/adaptive_merged_block_size
2024-04-28 12:54:43 +08:00
lgbo-ustc
0070d6fc71
fixed: converting filter column type
2024-04-28 09:27:16 +08:00
lgbo-ustc
352d7a443b
fixed: filter column is a const column
2024-04-28 09:27:16 +08:00
lgbo-ustc
5431e272c9
update
2024-04-28 09:27:16 +08:00
lgbo-ustc
6fa6c0261b
apply 27a2b19
2024-04-28 09:27:16 +08:00
lgbo-ustc
7ee720ffb0
update settting
2024-04-28 09:27:15 +08:00
lgbo-ustc
c51e9163a5
reduce hash join code size
...
add check
debug
fixed
fixed
fixed
fixed
fixed
debug
debug
update
rename full_expression
rollback ExecutionContext
experiment: support join_use_nulls
2024-04-28 09:26:11 +08:00
lgbo-ustc
cd9c87811f
fixed bugs for all right join
...
add test cases
fixed typos
add document
fixed stype error and rename some variables
fixed test error
add test cases
try to recude hash join code size
debug
fixed
fixed coredump
fixed. condition result type is not bool
enable when allow_experimental_analyzer=0
fixed tests
fixed
update tests
update tests
roll backup when use the old analyzer
fixed typos
fixed
test
large obj check
test
test
2024-04-28 09:26:11 +08:00
lgbo-ustc
f7dd4deca0
Optimization for cutting left blocks into processed and not_processed parts.
2024-04-28 09:26:11 +08:00
lgbo-ustc
4a2ad7beb5
fixed bugs
2024-04-28 09:26:11 +08:00
lgbo-ustc
2692784585
support inequal join for left/right/inner all
2024-04-28 09:26:11 +08:00
Nikita Taranov
c14fb847da
Merge pull request #62047 from azat/dist/fix-IN-rewrite
...
Fix optimize_skip_unused_shards_rewrite_in for composite sharding key
2024-04-27 18:39:34 +00:00
Alexey Milovidov
64fff163f7
Less directories
2024-04-27 19:54:37 +02:00
Alexey Milovidov
6a083ebed0
Even less directories
2024-04-27 19:13:17 +02:00
Alexey Milovidov
39118ef461
Hopefully better
2024-04-27 18:47:03 +02:00
Alexey Milovidov
a75a9e37be
Merge pull request #62534 from ClickHouse/Azure_write_buffer_parallel_upload
...
Support parallel write buffer for AzureBlobStorage
2024-04-27 13:59:55 +00:00
Pablo Marcos
9002d4c751
Merge branch 'master' into pamarcos/system-unload-primary-key
2024-04-27 08:57:29 +02:00
Konstantin Bogdanov
2768b4f611
Fix comment
2024-04-26 19:58:34 +02:00
Konstantin Bogdanov
822a57cb83
Fix integration tests
2024-04-26 19:56:24 +02:00
Nikita Mikhaylov
ed7e4291ab
Merge pull request #62937 from ClickHouse/docs-remove-replicated-experimental-tag
...
Remove experimental tag from Replicated database engine
2024-04-26 17:56:06 +00:00
Konstantin Bogdanov
466633729f
Support user expiration
2024-04-26 17:03:40 +02:00
Raúl Marín
25d7f24f0f
Merge pull request #63004 from Algunenano/remove_optimize_monotonous_functions_in_order_by
...
Remove optimize_monotonous_functions_in_order_by setting
2024-04-26 12:13:50 +00:00
alesapin
56039c91f9
Update src/Interpreters/MutationsInterpreter.cpp
2024-04-26 13:51:25 +02:00
avogar
ff12caf2e9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into dynamic-data-type
2024-04-26 11:08:04 +00:00
avogar
69a3aa7bcf
Implement Dynamic data type
2024-04-26 11:02:33 +00:00
Duc Canh Le
41351222e7
Merge branch 'master' into rocksdb_bypass_memtable
...
Resolve conflicts
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-26 10:47:49 +00:00
Kseniia Sumarokova
ce5ea3b05a
Merge pull request #62925 from ClickHouse/fix-temporary-data-in-cache-base-directory-creation
...
Fix temporary data in cache incorrectly processing failure of cache key directory creation
2024-04-26 10:17:45 +00:00
Smita Kulkarni
3ace11f92d
Merge branch 'master' into Azure_write_buffer_parallel_upload
2024-04-26 10:27:41 +02:00
liuneng
f2ab23780f
fix bug and add test case
2024-04-26 16:24:06 +08:00
liuneng
49740451f7
reduce memory usage during merging external sorted file
2024-04-26 13:38:30 +08:00
Raúl Marín
09ff42de0f
Remove optimize_monotonous_functions_in_order_by
2024-04-25 21:46:15 +02:00
Raúl Marín
93be6c4a2a
Merge remote-tracking branch 'blessed/master' into optimize_rewrite_sum_if_to_count_if
2024-04-25 20:38:48 +02:00
kssenii
acd7292be0
Fix abort in temporary data in cache
2024-04-25 20:00:40 +02:00
Pablo Marcos
24b84ef68a
Merge branch 'master' into pamarcos/system-unload-primary-key
2024-04-25 18:26:14 +02:00
Grégoire Pineau
382e4fba5c
dx: Enhance error message when non-deterministic function is used with Replicated source
2024-04-25 15:48:52 +02:00
Nikita Mikhaylov
f43a155aa9
Make allow_experimental_database_replicated obsolete.
2024-04-25 13:05:14 +00:00
kssenii
6dc48de031
Fix
2024-04-25 14:55:09 +02:00
Kseniia Sumarokova
8cea79ac91
Merge pull request #62868 from kitaisreal/system-drop-uninitialized-cache-fix
...
SYSTEM DROP uninitialized cache fix
2024-04-25 09:28:44 +00:00
Igor Nikonov
6db303cea3
Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake
2024-04-24 18:56:49 +00:00
Raúl Marín
1ba7e5942b
Enable optimize_rewrite_sum_if_to_count_if by default
2024-04-24 19:24:36 +02:00
kssenii
7530dd57f1
Fix
2024-04-24 18:51:45 +02:00
yariks5s
2eba133b53
implement SquashingChunksTransformForBalancing
2024-04-24 15:51:23 +00:00
yariks5s
7ce5e5a38c
SquashingChunksTranform -> (BalancingChunksTransform && SquashingChunksTranform) || SimpleSquashingChunksTranform
2024-04-24 15:36:11 +00:00
yariks5s
0065a4cc6e
fixing bugs by adding old transform to some parts
2024-04-24 14:55:01 +00:00
Maksim Kita
a4055ae879
SYSTEM DROP uninitialized cache fix
2024-04-24 17:46:15 +03:00
Robert Schulze
56e32e0f99
Rename MergeTreeIndexInverted* to MergeTreeIndexFullText*
2024-04-24 07:20:08 +00:00
Alexey Katsman
ca4e2f581a
Add columns for values used in the formatting message into system.text_log
2024-04-23 17:26:56 +01:00
Robert Schulze
0ae422d33c
Rename MergeTreeIndexFullText --> MergeTreeIndexBloomFilterText
2024-04-23 14:17:54 +00:00
HowePa
c7fcc5493c
fix typo for part log
2024-04-23 11:37:55 +08:00
Alexey Milovidov
642da7934a
Merge pull request #62751 from ClickHouse/block-cannot-allocate-thread-fault-injection-in-transaction
...
Block cannot allocate thread fault in noexcept functions in `MergeTreeTransaction`
2024-04-23 02:38:46 +00:00
Anton Popov
f29f3b9ba9
Merge pull request #62117 from pamarcos/pamarcos/copy_comment_in_create_as_statement
...
Copy comment when using CREATE AS statement
2024-04-22 09:52:21 +00:00
Smita Kulkarni
065eceecbf
Merge branch 'master' into Azure_write_buffer_parallel_upload
2024-04-19 17:37:15 +02:00
Eliot Hautefeuille
520aa02059
fix: update: nested materialized columns: size check fixes
2024-04-19 00:10:41 +02:00
Pablo Marcos
c28af20e2a
Merge branch 'master' into pamarcos/system-unload-primary-key
2024-04-18 17:53:11 +02:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
...
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
János Benjamin Antal
aca46eecc9
Block cannot allocate thread fault in noexcept functions in MergeTreeTransaction
2024-04-18 10:30:36 +00:00
Pablo Marcos
2a65b0091e
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-18 07:12:14 +02:00
Pablo Marcos
d8baccaa49
Fix coding style
2024-04-18 07:09:22 +02:00
Pablo Marcos
556932706b
Add SYSTEM UNLOAD PRIMARY KEY
2024-04-17 21:24:59 +02:00
Igor Nikonov
043c62931d
Merge remote-tracking branch 'origin/master' into pr-receive-timeout-on-handshake
2024-04-17 16:48:40 +00:00
Igor Nikonov
1e43e3515e
Check table status for parallel replicas
2024-04-17 16:47:52 +00:00
kssenii
bd49f50a71
Fix
2024-04-17 12:07:25 +01:00
jsc0218
80fa1ab89a
fix
2024-04-17 00:31:15 +00:00
Alexander Tokmakov
d2c3d98844
Merge pull request #62663 from ClickHouse/tavplubix-patch-10
...
Update TransactionLog.cpp
2024-04-16 14:54:47 +00:00
Robert Schulze
7fa294d42d
Merge remote-tracking branch 'rschu1ze/master' into qc-hash
2024-04-16 13:38:46 +00:00
Nikita Mikhaylov
41cce7f353
Merge pull request #62667 from ClickHouse/backup_log_event_time
...
Unify sorting key for system tables
2024-04-16 12:29:47 +00:00
Robert Schulze
2b23c7cc30
Change query cache keys from ASTs to AST hashes
2024-04-16 09:27:20 +00:00
Kseniia Sumarokova
dfd3bbe223
Merge pull request #62555 from ClickHouse/fixes-for-dynamic-cache-resize
...
Follow up to #61723
2024-04-15 22:17:34 +00:00
Nikita Mikhaylov
952262107e
Done
2024-04-15 16:19:54 +00:00
Vitaly Baranov
4efa03717b
Merge pull request #62601 from vitlibar/avoid-evaluating-table-defaults-while-restoring
...
Avoid evaluating table DEFAULT expressions while executing RESTORE
2024-04-15 15:32:42 +00:00
Alexander Tokmakov
42e441d27a
Update TransactionLog.cpp
2024-04-15 17:32:28 +02:00
Azat Khuzhin
8a1fe33304
Disable optimize_skip_unused_shards_rewrite_in for composite keys
...
It never worked, since shardContains() accept only one value, and it
will throw "Not found column X in block" when sharding key consist from
multiple columns.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-15 11:53:56 +02:00
Azat Khuzhin
32ed192434
Fix incorrect sharding key types for optimize_skip_unused_shards_rewrite_in
...
Before it always uses the first column from sample block, while it is
not guaranteed.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-15 11:53:56 +02:00
Pablo Marcos
9d87cec843
Don't use ASTPtr for the comment following feedback in the PR
2024-04-14 17:58:55 +02:00
Pablo Marcos
e3a0abd415
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-14 17:11:20 +02:00
yariks5s
ba8af1fcd8
fix for projections
2024-04-12 16:21:41 +00:00
Alexander Tokmakov
d510c3ac55
Merge pull request #62266 from ClickHouse/cannot_allocate_thread
...
Add fault injection for "Cannot allocate thread"
2024-04-12 14:40:42 +00:00
kssenii
a4afe0ad06
One more fix
2024-04-12 16:37:04 +02:00
Vitaly Baranov
df681f3e82
Avoid evaluating table default expressions while restoring from a backup.
2024-04-12 15:45:53 +02:00
Alexander Tokmakov
b5ff1c0a6e
Merge branch 'master' into cannot_allocate_thread
2024-04-12 13:35:14 +02:00
Kseniia Sumarokova
db46866db7
Merge pull request #62551 from ClickHouse/fix-assertion-in-cache-slru
...
Fix assertion in stress test
2024-04-12 11:18:29 +00:00
kssenii
faf783e66f
Remove redundant change
2024-04-12 12:55:02 +02:00
kssenii
f7dc28984c
Add a comment, an actual fix for the bug
2024-04-12 12:33:11 +02:00
Alexey Milovidov
13283abce6
Apply review comments
2024-04-12 03:47:29 +02:00
Alexey Milovidov
727caee102
Merge branch 'master' into fix-trash-docs
2024-04-12 03:46:19 +02:00
Alexander Tokmakov
55c510563c
Merge branch 'master' into cannot_allocate_thread
2024-04-11 23:06:17 +02:00
yariks5s
958b83a76a
changed Block -> Chunk and removed dataTypes, beautified
2024-04-11 18:36:54 +00:00
yariks5s
635b17aad2
chunk -> block in chunkInfo
2024-04-11 15:46:09 +00:00
yariks5s
59718eafeb
fix for unmatching types
2024-04-11 14:59:39 +00:00
Robert Schulze
a358e2c872
Merge pull request #62541 from jaymebrd/add-event-time-backup-log-table
...
Add column `event_time` to system table `backup_log system`
2024-04-11 13:02:34 +00:00
kssenii
96f4ac4561
Fixes for dynamic cache resize
2024-04-11 14:57:13 +02:00
kssenii
0ef2153d55
Fix
2024-04-11 14:02:32 +02:00
Alexander Tokmakov
e21799f4a5
fix hung check
2024-04-11 13:48:35 +02:00
Jayme Bird
edb22a8941
add event_time to backup_log system table
2024-04-11 10:22:02 +01:00
Smita Kulkarni
b8c77a4453
Support parallel write buffer for AzureBlobStorage
2024-04-11 10:13:41 +02:00
Maksim Kita
4a1a932c5f
Fixed tests
2024-04-11 11:09:08 +03:00
Maksim Kita
1218cf1568
Updated implementation
2024-04-11 11:09:08 +03:00
Alexander Tokmakov
d8e97b51bf
Merge branch 'master' into cannot_allocate_thread
2024-04-10 21:21:42 +02:00
yariks5s
149e2af369
fix for one thread
2024-04-10 17:46:30 +00:00
kssenii
05f55504bb
Fix schedule
2024-04-10 19:32:11 +02:00
Robert Schulze
b072c8bc5c
Merge pull request #62456 from jaymebrd/add-hostname-blob_storage_log-system-table
...
Add missing `hostname` column to `blob_storage_log` system table
2024-04-10 13:08:00 +00:00
Robert Schulze
84525faee8
Merge remote-tracking branch 'ClickHouse/master' into add-hostname-blob_storage_log-system-table
2024-04-10 13:02:44 +00:00
Kruglov Pavel
8ef64b0581
Merge pull request #61476 from Avogar/better-stress-upgrade-checks
...
Ignore DROP queries in stress test with 1/2 probability and TRUNCATE Memory/JOIN table instead of ignoring DROP in upgrade check
2024-04-10 12:43:22 +00:00
kssenii
b6b7c3f80f
Fxi
2024-04-10 13:41:21 +02:00
vdimir
4560f7c8c2
Merge pull request #62333 from ClickHouse/vdimir/check_max_insert_threads_support
...
Do not build multithread insert pipeline for tables without support
2024-04-10 11:14:13 +00:00
Robert Schulze
d1bd7e08e4
Merge remote-tracking branch 'rschu1ze/master' into qc-system-tables
2024-04-10 10:55:16 +00:00
zhongyuankai
bec9ae2a7d
Merge branch 'master' into optimize_drop_tables
2024-04-10 09:52:17 +08:00
Kseniia Sumarokova
815e93b5a1
Merge branch 'master' into less-contentaion-in-cache-part4
2024-04-09 19:42:39 +02:00
Jayme Bird
fcfaf82181
fix: add missing hostname column to blob_storage_log system table
2024-04-09 17:50:28 +01:00
Robert Schulze
c7cb33d035
Better parsing
2024-04-09 15:43:08 +00:00
kssenii
ef0231e781
Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4
2024-04-09 17:28:49 +02:00
Robert Schulze
22e164c65d
Merge pull request #62375 from rschu1ze/static-instance2
...
Don't access static members through instance, pt. II
2024-04-09 14:37:24 +00:00
Kseniia Sumarokova
ebf4f79a34
Merge pull request #61723 from ClickHouse/better-dynamic-cache-resize-part-2
...
Speed up dynamic resize of filesystem cache
2024-04-09 13:54:07 +00:00
Robert Schulze
4035334634
Merge remote-tracking branch 'rschu1ze/master' into static-instance2
2024-04-09 11:45:27 +00:00
Alexey Milovidov
ce4ab06d03
Merge pull request #62382 from ClickHouse/remove-insert-watch
...
Remove support for INSERT WATCH query
2024-04-08 16:58:27 +00:00
avogar
71666cb42f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks
2024-04-08 13:58:14 +00:00
kssenii
44d3612d77
Review suggestion
2024-04-08 15:52:38 +02:00
kssenii
80c494a900
Fxi
2024-04-08 15:23:41 +02:00
kssenii
259d50c57b
Add more comments
2024-04-08 14:36:07 +02:00
divanik
1e8105fa7b
Merge pull request #62320 from seandhaynes/shaynes/dictionary-source-type
...
Fix small typo in Dictionary source loader
2024-04-08 14:13:06 +02:00
Sergei Trifonov
8349bdd006
Merge pull request #61534 from ClickHouse/fix-db-iterator-waits
...
Fix db iterator wait during async metrics collection
2024-04-08 12:10:50 +02:00
Pablo Marcos
04f819a124
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-08 08:10:43 +02:00
Alexey Milovidov
f5e9a09d69
Remove support for INSERT WATCH query
2024-04-08 05:37:09 +02:00
Alexey Milovidov
53a3ad609a
Fix trash in documentation
2024-04-07 21:32:40 +02:00
Robert Schulze
7dacd8aa84
Incorporate review feedback
2024-04-07 14:46:55 +00:00
Robert Schulze
12813be9b8
Ignore queries involving system tables by query cache
...
Fixes #59071
2024-04-07 11:24:32 +00:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
...
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Pablo Marcos
c427092b2a
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-07 12:40:17 +02:00
zhongyuankai
832c7087a7
optimize drop tables
2024-04-06 19:59:45 +08:00
alesapin
22caa3eb73
Merge remote-tracking branch 'origin/master' into try_global_trace_collector
2024-04-06 11:21:27 +02:00
kssenii
eb9690016a
Fix assertion
2024-04-05 18:37:46 +02:00
Raúl Marín
7df11b1852
Merge pull request #62264 from Algunenano/nested_includes_Ñ
...
Remove more nested includes
2024-04-05 17:00:28 +02:00
Kruglov Pavel
589034c34c
Merge branch 'master' into better-stress-upgrade-checks
2024-04-05 15:27:02 +02:00
Kruglov Pavel
bdda4e31fb
Merge pull request #62305 from Avogar/fix-scalar-data-race
...
Fix data race on scalars in Context
2024-04-05 15:24:26 +02:00
vdimir
8b2c719aa6
Do not build multithread insert pipeline for tables without support
2024-04-05 12:57:02 +00:00
kssenii
1cd73b907c
Better
2024-04-05 12:59:57 +02:00
kssenii
6428868843
Fix build
2024-04-05 12:42:03 +02:00
alesapin
e514a8b49d
Merge remote-tracking branch 'origin/master' into try_global_trace_collector
2024-04-05 12:40:25 +02:00
Sean Haynes
500c3fe0fc
Fix small typo in Dictionary source loader
2024-04-05 10:39:42 +00:00
vdimir
723bcc4ee5
Merge pull request #62225 from ClickHouse/vdimir/fix_index_definition_sql_udf
...
Fix crash in index definition containing sql udf
2024-04-05 12:02:11 +02:00
kssenii
4ae1acdeb9
Merge remote-tracking branch 'origin/master' into better-dynamic-cache-resize-part-2
2024-04-05 12:00:07 +02:00
Kruglov Pavel
c3aa932367
Uncommonly header
2024-04-05 11:39:28 +02:00
avogar
0be983ee22
Fix test
2024-04-05 09:16:00 +00:00
Pablo Marcos
6b3e92f2d0
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-05 08:41:54 +02:00
Alexander Tokmakov
5db9fbed52
cancel tasks on exception
2024-04-04 22:32:57 +02:00
avogar
7329b9509a
Fix header
2024-04-04 20:01:05 +00:00
avogar
0f5a3eae7e
Better
2024-04-04 20:00:22 +00:00
avogar
3e1e434833
Fix data race on scalars in Context
2024-04-04 19:52:40 +00:00
kssenii
eede7c3acf
Try fix stress test
2024-04-04 19:01:31 +02:00
Nikolai Kochetov
300904dc83
Merge pull request #60997 from kitaisreal/context-get-global-temporary-volume-use-shared-lock
...
Context getGlobalTemporaryVolume use shared lock
2024-04-04 18:30:20 +02:00
kssenii
c93510b7cf
Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4
2024-04-04 17:47:22 +02:00
Robert Schulze
7ce2a47ba5
Merge pull request #62265 from rschu1ze/static-instance
...
Don't access static members through instance
2024-04-04 14:36:03 +02:00
Kseniia Sumarokova
1a701921ff
Merge pull request #62160 from ClickHouse/add-more-logging
...
Add some logging
2024-04-04 13:48:28 +02:00
kssenii
62f9be052c
Fix test
2024-04-04 13:41:30 +02:00
Raúl Marín
276246ee97
Introduce IAggregateFunction_fwd to reduce header dependencies
2024-04-04 12:29:54 +02:00
alesapin
58c79af80b
Simpler
2024-04-04 12:22:11 +02:00
kssenii
5ce8ab2bd9
More logging
2024-04-04 11:32:32 +02:00
Dmitry Novik
d86eae3dd9
Merge pull request #62186 from ClickHouse/analyzer-query-param
...
Analyzer: Fix query parameter resolution
2024-04-04 11:26:12 +02:00
vdimir
b4ae81ee00
Merge pull request #62253 from ClickHouse/vdimir/analyzer_legacy_lambda_syntax
...
Fix lambda(tuple(x), x + 1) syntax in analyzer
2024-04-04 11:21:03 +02:00
Maksim Kita
414f3aebef
Context getGlobalTemporaryVolume use shared lock
2024-04-04 11:32:39 +03:00
Robert Schulze
de2a0be025
Don't access static members through instance
...
- clang-tidy rightfully complains (-readability-static-accessed-through-instance)
- not going to enable the warning for now to avoid breaking the build
2024-04-03 18:50:33 +00:00
kssenii
925148f928
Add logging
2024-04-03 20:32:48 +02:00
Raúl Marín
40b901a2e3
More crap
2024-04-03 19:49:56 +02:00
kssenii
c70ecfe5f3
Fix
2024-04-03 19:18:56 +02:00
jsc0218
ee589f8a8b
Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2
2024-04-03 17:17:33 +00:00
Raúl Marín
11eb872ac6
Remove more nested includes
2024-04-03 19:06:36 +02:00
kssenii
2db1e34517
Better logger name
2024-04-03 19:06:33 +02:00
Kruglov Pavel
3116650fa9
Merge pull request #61201 from ClickHouse/revert-61200-revert-60430-max-parallel-replicas-validate
...
Don't allow to set max_parallel_replicas to 0 as it doesn't make sense
2024-04-03 17:05:59 +02:00
Anton Popov
ec22d64fc8
Merge pull request #62195 from CurtizJ/lightweight-deletes-setting
...
Add setting `lightweight_deletes_sync`
2024-04-03 14:34:51 +02:00
Dmitry Novik
90ac11171c
Fix crash
2024-04-03 12:18:54 +00:00
avogar
d87d5a9197
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-stress-upgrade-checks
2024-04-03 12:07:22 +00:00
Kruglov Pavel
21abaa14e7
Merge pull request #61951 from Avogar/fix-exception-in-format
...
Fix writing exception message in output format in HTTP when http_wait_end_of_query is used
2024-04-03 13:44:30 +02:00
vdimir
e693418f63
Fix crash in index definition containing sql udf
2024-04-03 10:45:45 +00:00
vdimir
71450c909a
Fix lambda(tuple(x), x + 1) syntax in analyzer
2024-04-03 10:39:43 +00:00
Raúl Marín
3b877c3624
Merge pull request #62230 from ClickHouse/revert-62050-vdimir/dictioary_reload_twice_on_start2
...
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'"
2024-04-03 12:36:52 +02:00
Raúl Marín
772bd84433
Merge pull request #62170 from Algunenano/nested_includes_N
...
Remove a few nested include dependencies
2024-04-03 12:19:25 +02:00
kssenii
9d9ee6ce06
Remove assertion
2024-04-03 12:16:50 +02:00
Raúl Marín
0d3d7b3146
Revert "Resubmit 'Update invalidate_query_response on dictionary startup'"
2024-04-03 12:12:31 +02:00
Kseniia Sumarokova
f0dac3dfd5
Merge branch 'master' into add-more-logging
2024-04-03 12:05:53 +02:00
Raúl Marín
44cea8b171
Merge pull request #62159 from Algunenano/private_planner
...
Unify lightweight mutation control
2024-04-03 11:51:14 +02:00
serxa
5afec7b64d
Merge branch 'master' into fix-db-iterator-waits
2024-04-03 09:29:32 +00:00
Pablo Marcos
e785327b23
Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement
2024-04-03 08:53:50 +02:00
Anton Popov
ed448eae42
add setting lightweight_deletes_sync
2024-04-02 18:40:46 +00:00
kssenii
607a9d761b
Fix
2024-04-02 19:04:02 +02:00
kssenii
9b74e246af
Rename a method
2024-04-02 19:03:54 +02:00
alesapin
add92939da
Merge d11d10050b
into e037e68130
2024-04-02 16:08:10 +00:00
alesapin
f5c5146153
[RFC] Try to add global Real and CPU trace collector
2024-04-02 18:04:53 +02:00
kssenii
c11aa01226
Fix race
2024-04-02 17:58:59 +02:00
Dmitry Novik
40b9f39c00
Analyzer: Fix query parameters
2024-04-02 17:47:00 +02:00
vdimir
e037e68130
Merge pull request #62050 from ClickHouse/vdimir/dictioary_reload_twice_on_start2
...
Resubmit 'Update invalidate_query_response on dictionary startup'
2024-04-02 17:37:45 +02:00
Pablo Marcos
6d431184a8
Only copy comment if it's not empty
2024-04-02 17:25:42 +02:00
kssenii
7285a55f69
One more
2024-04-02 17:08:32 +02:00
Raúl Marín
c35a436435
Remove nested dependency on DateLutImpl
2024-04-02 14:45:48 +02:00
Raúl Marín
40a22ffa63
Remove a few nested include dependencies
2024-04-02 13:43:14 +02:00
kssenii
fb94a95425
Add logging
2024-04-02 12:23:22 +02:00
Raúl Marín
48ab0721a8
Unify lightweight mutation control
2024-04-02 11:52:14 +02:00
Han Fei
89108202d5
Merge pull request #58705 from zhongyuankai/drop_tables
...
Supports DROP multiple tables
2024-04-01 22:43:55 +02:00
Pablo Marcos
3d7c1db763
Copy comment when using CREATE AS statement
2024-03-31 13:46:29 +02:00
Nikolai Kochetov
686534a460
Merge pull request #61992 from kitaisreal/aggregator-parallel-merge-cancellation
...
Aggregator parallel merge cancellation
2024-03-29 19:25:38 +01:00
zhongyuankai
79b486b8bf
batter
2024-03-29 09:53:50 +08:00
Han Fei
419ac380f1
Merge pull request #61953 from hanfei1991/hanfei/fix-quorum-retry
...
fix logical-error when undoing quorum insert transaction
2024-03-28 20:49:32 +01:00
kssenii
fd925770b2
Fixes after merge
2024-03-28 17:00:54 +01:00
kssenii
52a08a7aa0
Merge remote-tracking branch 'origin/master' into less-contentaion-in-cache-part4
2024-03-28 16:58:50 +01:00
kssenii
1d453af6ff
Fix style check
2024-03-28 16:47:22 +01:00
vdimir
0b85d8570b
Resubmit 'Update invalidate_query_response on dictionary startup'
2024-03-28 16:46:44 +01:00
kssenii
19b90d8348
Resolve conflicts after merge, add system.filesystem_cache_settings
2024-03-28 16:28:59 +01:00
kssenii
15768ffce6
Merge remote-tracking branch 'origin/master' into better-dynamic-cache-resize-part-2
2024-03-28 16:28:18 +01:00
Kruglov Pavel
70bb85a754
Merge pull request #61999 from Avogar/variant-number-bool
...
Don't treat Bool and number variants as suspicious in Variant type
2024-03-28 14:33:24 +01:00
Kseniia Sumarokova
0244e0851a
Merge pull request #61954 from ClickHouse/follow-up-broken-projections
...
Follow up to #60452
2024-03-28 14:23:28 +01:00
Han Fei
a0d27e45b9
Merge branch 'master' into drop_tables
2024-03-28 13:56:50 +01:00
Yarik Briukhovetskyi
003d258ba1
Merge pull request #61862 from HowePa/truncate_all_tables
...
add TRUNCATE ALL TABLES
2024-03-28 13:32:46 +01:00
Kseniia Sumarokova
5ba2ad53b6
Merge pull request #61163 from ClickHouse/filecache-better-try-reserve
...
Less contention in cache, part 3
2024-03-28 13:24:22 +01:00
Maksim Kita
a376a7354f
Fixed code review issues
2024-03-28 15:04:14 +03:00
zhongyuankai
7938a8e62b
Merge branch 'master' into drop_tables
2024-03-28 20:00:56 +08:00
Alexander Tokmakov
a0b9b888ee
Merge pull request #61799 from ClickHouse/more_secondary_create
...
Skip more sanity checks for secondary create queries
2024-03-28 10:01:05 +01:00
p1rattttt
5a9d1ac2f3
Merge branch 'master' into cross_join_compression
2024-03-28 10:13:18 +03:00
Maxim Alexeev
64c3c0bffc
Added test
2024-03-28 01:09:02 +03:00
Maxim Alexeev
9e719868a0
changed parameters
2024-03-27 23:28:13 +03:00
avogar
043c625898
Don't treat Bool and number variants as suspicious
2024-03-27 19:19:08 +00:00
Han Fei
e849c48e21
add a test
2024-03-27 18:56:13 +01:00
Maksim Kita
d8b06588b8
Aggregator parallel merge cancellation
2024-03-27 20:14:52 +03:00
Igor Nikonov
15a0f5381f
Merge pull request #59176 from azat/dist/readonly-replicas
...
Add ability to skip read-only replicas for INSERT into Distributed engine
2024-03-27 13:19:12 +01:00
Yarik Briukhovetskyi
844bb4f06c
Merge pull request #61727 from yariks5s/fix_undrop_query
...
Revert "Revert "Un-flake test_undrop_query""
2024-03-27 13:12:50 +01:00
Kseniia Sumarokova
af66e1f7c4
Fix style check
2024-03-27 11:25:58 +01:00
kssenii
0a5ce69880
Review fix
2024-03-26 22:02:50 +01:00
kssenii
dc83eb1ad6
Review fixes
2024-03-26 21:43:54 +01:00
kssenii
a777045dd3
Fix and more tests for broken projections handling
2024-03-26 18:47:48 +01:00
shabroo
8e8bc83d36
Update Context.cpp
...
@alexey-milovidov please stop torturing me and accept this commit.
2024-03-26 17:37:27 +01:00
Yarik Briukhovetskyi
d8bfdf040f
has_all -> has_all_tables
2024-03-26 16:58:36 +01:00
Azat Khuzhin
b9469e2729
Do not try to INSERT into readonly replicas for Distributed engine
...
Sometimes replica may be readonly for a long time, and this will make
some INSERT queries fail, but it does not make sense to INSERT into
readonly replica, so let's ignore them.
But note, that this will require to extend TableStatus (not extend, but
introduce new version), that will have is_readonly field.
Also before background INSERT into Distributed does not uses
getManyChecked() which means that they do not request TableStatus
packet, while now they would, though this is minor (just a note).
v2: Add a note about max_replica_delay_for_distributed_queries for INSERT
v3: Skip read-only replicas for async INSERT into Distributed
v4: Remove extra @insert parameter for ConnectionPool*::get*
It make sense only when the table name had passed --
ConnectionPoolWithFailover::getManyChecked()
v5: rebase on top LoggerPtr
v6: rebase
v7: rebase
v8: move TryResult::is_readonly into the end
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 11:21:38 +01:00
vdimir
802d6a2dac
Merge pull request #59007 from ClickHouse/vdimir/using_alias_followup
...
Analyzer: fixes for JOIN columns resolution
2024-03-26 10:36:50 +01:00