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
Yakov Olkhovskiy
3825cb3ad0
expand CTE in alter modify query
2024-03-02 15:28:45 +00:00
pufit
330a206470
Add definers for views (Attempt 2) ( #60439 )
2024-02-27 19:00:17 -05:00
Alexey Milovidov
10e59c2e01
Remove ALTER LIVE VIEW
2024-02-26 00:01:34 +01:00
Alexey Milovidov
2eb4d25126
Remove ALTER LIVE VIEW
2024-02-23 22:56:18 +01:00
Nikita Mikhaylov
8fef0b71c4
Merge pull request #60350 from ClickHouse/revert-54901-pufit/views-sql-security
...
Revert "Add definers for views"
2024-02-23 15:15:36 +01:00
Sergei Trifonov
2c766cf75f
Merge pull request #59507 from ClickHouse/alter-table-forget-partition
...
Add `FORGET PARTITION` query to remove old partition nodes from ZooKeeper
2024-02-23 12:55:08 +01:00
Raúl Marín
464b5e0e15
Revert "Add definers for views ( #54901 )"
...
This reverts commit 57306706b3
.
2024-02-23 12:44:31 +01:00
pufit
57306706b3
Add definers for views ( #54901 )
2024-02-22 17:47:50 +01:00
serxa
1d31ac2a0c
add FORGET PARTITION
query to remove old parition nodes from ZooKeeper
2024-02-02 10:03:31 +00:00
Bharat Nallan
ee37f551a2
independent registration of interpreters ( #58443 )
...
* make interpreter factory an instance
* add registerInterpreter
* register interpreters individually
* try wire everything up
* fix style
* fix test
2024-01-08 22:33:48 -08:00
Michael Kolupaev
dda0606f67
Things
2023-12-28 17:56:05 +00:00
Alexander Tokmakov
38fe70c68a
Revert "Refreshable materialized views (takeover)"
2023-12-28 13:12:20 +01:00
Michael Kolupaev
ef4cc5ec7f
Things
2023-12-27 20:24:55 +00:00
Anton Popov
913ae1d267
Merge remote-tracking branch 'upstream/master' into HEAD
2023-12-05 14:47:32 +00:00
Anton Popov
7fbe7462b6
add mutation command to apply deleted mask
2023-12-01 19:12:05 +00:00
Sergey Kviatkevich
afae432e99
allow ALTER for TEMPORARY table
2023-11-30 21:42:12 +03:00
Han Fei
7bd2ea3add
Merge branch 'master' into hanfei/statistic
2023-11-27 23:31:23 +01:00
Alexey Milovidov
2efa5ab172
Merge pull request #56331 from ucasfl/alter
...
Support create and materialized index in the same alter query
2023-11-18 17:23:11 +01:00
Nikolay Degterinsky
cc0d447c52
Fix ON CLUSTER queries without local database
2023-11-08 23:30:35 +00:00
flynn
cc5179078c
remove unused code
...
Fix
2023-11-05 02:30:10 +00:00
flynn
83689c2a04
Support create and materialized index in the same alter query
2023-11-04 14:35:39 +00:00
Han Fei
4b23142775
Merge branch 'master' into hanfei/statistic
2023-10-17 16:40:31 +02:00
alesapin
47d48d81e0
Implement feature
2023-10-13 16:22:18 +02:00
Han Fei
8cb9fe0154
refine code
2023-09-26 19:16:01 +02: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
Alexander Sapin
a176c38876
Fix tests with database replicated
2023-09-06 14:17:46 +02:00
Han Fei
10c622fa08
Merge branch 'master' into hanfei/statistic
2023-08-24 15:56:06 +02:00
Han Fei
f5c9d278ad
use statistic to order prewhere conditions better
2023-08-09 22:57:49 +02:00
Anton Popov
78abad7701
allow to execute constant non-deterministic functions in mutations on initiator
2023-08-07 17:16:15 +00:00
Alexey Milovidov
369ad0aea3
Remove ALTER of LIVE VIEW
2023-06-22 20:32:29 +02:00
Anton Popov
612173e734
refactoring near alter conversions
2023-05-25 22:54:54 +00:00
Antonio Andelic
f21c664744
Add error code
2023-04-03 15:17:06 +00:00
Antonio Andelic
e81c2999a3
Update src/Interpreters/InterpreterAlterQuery.cpp
...
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2023-04-03 16:56:45 +02:00
Antonio Andelic
12bee0573f
Correctly check table
2023-04-03 14:54:14 +00:00
Antonio Andelic
e7d00c8f34
Don't replicate mutations for KeeperMap tables
2023-04-03 14:22:08 +00:00
Alexey Milovidov
62bfdb349a
Merge branch 'master' into fix-trash-query-kind
2023-02-02 04:26:49 +01:00
Alexey Milovidov
9b908a0be0
Fix trash around query kind, part 2
2023-02-01 03:31:31 +01:00
Alexey Milovidov
5c4db119fa
Fix trash around query kind, part 1
2023-02-01 03:11:54 +01:00
Alexander Gololobov
863548114d
force_wait flag is no longer needed
2023-01-30 18:38:28 +01: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
Alexander Gololobov
2c64f0042a
Added force_wait parameter to IStorage::mutate()
2022-12-30 16:23:03 +01:00
alesapin
fa467b3398
Minor code polishing
2022-12-22 14:31:42 +01:00
Antonio Andelic
9f0fdd780b
Modify ALTER before replicating
2022-11-25 10:16:20 +00:00
Alexander Tokmakov
65474830ac
make tryEnqueueReplicatedDDL virtual
2022-09-16 16:25:32 +02:00
Alexander Tokmakov
03c193ccca
fix ON CLUSTER with Replicated database cluster
2022-09-15 21:15:57 +02:00
Alexander Tokmakov
30e9104b6e
ignore cluster if equals to db name
2022-07-06 19:54:05 +02:00
Robert Schulze
89aa9ae00f
Fixed clang-tidy check "bugprone-branch-clone"
...
The check is currently *not* part of .clang-tidy. It complains about:
(1) "switch has multiple consecutive identical branches"
(2) "repeated branch in conditional chain"
About (1): Lots of findings in switches were about redundant
"[[fallthrough]]" in places where the compiler would not warn anyways. I
have cleaned these up.
About (2): In if-else_if-else chains, fixing the warning would usually
mean concatenating multiple if-conditions. As this would reduce
readability in most cases, I did not fix these places.
Because of (2), I also refrained from adding "bugprone-branch-clone" to
.clang-tidy.
2022-04-30 19:40:28 +02:00
Vitaly Baranov
030f3e488c
Add shard_index and replica_index to params of executeDDLQueryOnCluster().
2022-04-25 16:34:33 +02:00