Alexander Tokmakov
45d407034f
Merge branch 'master' into fix_undead_sessions
2024-02-20 22:21:37 +01:00
avogar
4e6f04ddf1
Address comments
2024-02-16 19:30:16 +00:00
avogar
8c66db0d1c
Use max_query_size from context in DDLLogEntry instead of hardcoded 4096
2024-02-16 19:21:25 +00:00
Alexander Tokmakov
228a29b93f
fix
2024-02-16 14:05:22 +01:00
Maksim Kita
2a327107b6
Updated implementation
2024-01-25 14:31:49 +03:00
Alexander Tokmakov
74fb390444
fix build
2024-01-04 13:36:42 +01:00
Nikolay Degterinsky
47c3696a46
Fix build
2023-12-29 20:41:33 +01:00
Nikolay Degterinsky
3140f869cc
Fix typo
2023-12-27 17:15:44 +01:00
Nikolay Degterinsky
547e3ed6c0
Add a check for the 'host_name' parameter
2023-12-26 22:57:31 +00:00
Nikolay Degterinsky
10bfd054d8
Fix style & review
2023-12-08 19:40:09 +00:00
Nikolay Degterinsky
995b51ef73
Allow avoiding resolving hostnames in DDLWorker
2023-12-07 03:43:26 +00:00
Alexander Tokmakov
a8ed97ac39
Update DDLTask.cpp
2023-11-29 19:51:32 +01:00
Alexander Tokmakov
84abbafcc5
ignore finished ddl tasks if hostname changed
2023-11-29 02:06:52 +01:00
kssenii
9178fd4ad1
Fix case with replicated database
2023-11-07 16:02:51 +01:00
Vitaly Baranov
815a3857de
Remove non-const function Context::getClientInfo().
2023-07-17 15:02:07 +02:00
Azat Khuzhin
66cf16410d
Preserve initial_query_id for ON CLUSTER queries
...
v2: add proper escaping
v3: set distributed_ddl_output_mode=none for test to fix replicated database build
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-21 23:04:54 +02:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Alexey Milovidov
84c66b66e8
Addition to prev change
2023-01-01 21:46:30 +01:00
Alexey Milovidov
1f612042dc
Fix data race in DDLWorker
2023-01-01 21:38:31 +01:00
Vitaly Baranov
8d72f75556
Make the password wiping an option of IAST::format().
2022-11-16 01:35:06 +01:00
Vitaly Baranov
8e99f5fea3
Move maskSensitiveInfoInQueryForLogging() to src/Parsers/
2022-11-14 18:55:19 +01:00
Vitaly Baranov
e18c97faf7
Remove dependencies maskSensitiveInfo() from Context.
2022-11-14 18:55:19 +01:00
Vitaly Baranov
43efbad642
Wipe passwords from distributed queries too.
2022-10-31 10:50:33 +01:00
Frank Chen
34bcb6a82b
Fix style
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-23 11:48:50 +08:00
Frank Chen
45e3d7d788
Update name/comments
2022-09-23 11:36:06 +08:00
Frank Chen
2344e0738e
Keep compatibility during upgrading
2022-09-23 11:32:21 +08:00
Frank Chen
40f9e0b69a
Address review comments
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-23 10:08:42 +08:00
Frank Chen
06ae2fb2b5
Remove assertEOF to improve the compability
...
Signed-off-by: Frank Chen <frank.chen021@outlook.com>
2022-09-19 11:20:58 +08:00
Frank Chen
ac848727e5
Read tracing context in right pos
2022-09-15 18:00:08 +08:00
Frank Chen
52224875e2
Serialize tracing context to DDL log entry
2022-09-15 14:47:43 +08:00
Alexander Tokmakov
629690c32b
fix "incorrect replica identifier"
2022-08-18 16:13:27 +02:00
Alexander Tokmakov
691526b7de
ignore unknown hosts when looking for current host
2022-08-02 12:51:00 +02:00
Alexander Tokmakov
24725b5f95
fix synchronous queries
2022-07-27 19:15:00 +02:00
Alexander Tokmakov
3a94ae8f67
normalize CREATE ON CLUSTER on initiator
2022-07-06 18:50:00 +02:00
Alexander Tokmakov
894acf0c5c
fix tests
2022-06-29 16:27:21 +02:00
Alexander Tokmakov
c806869040
fix sync database replica
2022-05-06 18:37:20 +02:00
Vitaly Baranov
2c754f44fc
Make calculation of shard_num & replica_num not dependant on match of the cluster's definitions on nodes.
2022-05-03 11:01:44 +02:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
Vitaly Baranov
3477665659
Add shard_index and replica_index to params of getRewrittenASTWithoutOnCluster().
2022-04-25 16:34:33 +02:00
Alexander Tokmakov
141fbc6980
Merge branch 'master' into mvcc_prototype
2022-04-08 13:38:11 +02:00
Azat Khuzhin
33d99c8ffb
Introduce compatiblity mode for SETTINGS after FORMAT
...
Add allow_settings_after_format_in_insert setting, OFF by default.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: s/parser_settings_after_format_compact/allow_settings_after_format_in_insert/ (suggested by vitlibar)
v3: replace ParserSettings with a flag (requested by vitlibar)
2022-04-07 16:36:34 +03:00
Alexander Tokmakov
278d779a01
log cleanup, more comments
2022-03-14 21:43:34 +01:00
Jianmei Zhang
d148cc30cc
Support non-table DDLs on cross replicated cluster
2022-02-24 14:37:35 +08:00
Maksim Kita
5ef83deaa6
Update sort to pdqsort
2022-01-30 19:49:48 +00:00
tavplubix
f320a404e0
Fix 'there are no such cluster here' ( #31723 )
...
* Update Context.cpp
* Update DDLTask.cpp
2021-11-25 17:28:06 +03:00
Nikolay Degterinsky
0d58c5231f
Better
2021-11-11 13:28:18 +00:00
Nikolay Degterinsky
e03bf0c526
Merge branch 'master' into query_parameters
2021-10-04 17:23:17 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Nikolay Degterinsky
22f59e1714
Add support for table and database query parameters
2021-09-07 01:19:02 +03:00
mergify[bot]
dc57254982
Merge branch 'master' into improve_create_or_replace
2021-08-03 11:39:07 +00:00