Commit Graph

633 Commits

Author SHA1 Message Date
pufit
2c0e880909 Format SQL security option only in CREATE VIEW queries. 2024-04-29 20:50:48 -04:00
Nikita Mikhaylov
f43a155aa9 Make allow_experimental_database_replicated obsolete. 2024-04-25 13:05:14 +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
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
Pablo Marcos
2a65b0091e Merge branch 'master' into pamarcos/copy_comment_in_create_as_statement 2024-04-18 07:12:14 +02:00
jsc0218
80fa1ab89a fix 2024-04-17 00:31:15 +00: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
Vitaly Baranov
df681f3e82 Avoid evaluating table default expressions while restoring from a backup. 2024-04-12 15:45:53 +02: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
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
Pablo Marcos
6d431184a8 Only copy comment if it's not empty 2024-04-02 17:25:42 +02:00
Pablo Marcos
3d7c1db763 Copy comment when using CREATE AS statement 2024-03-31 13:46:29 +02: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
pufit
cad66f3e68
Fix ALTER QUERY MODIFY SQL SECURITY (#61480) 2024-03-25 20:03:02 -04:00
Alexander Tokmakov
ace983f3d5 skip more sanity checks for secondary create queries 2024-03-23 00:03:31 +01:00
Nikolay Degterinsky
83ccd2a144 Merge remote-tracking branch 'upstream/master' into fix-attach-on-cluster 2024-03-22 16:06:01 +00:00
Nikolay Degterinsky
4e2e5a015b
Fixes 2024-03-19 16:29:50 +01:00
Alexey Milovidov
01136bbc3b Limit backtracking in parser 2024-03-17 19:54:45 +01:00
Nikolay Degterinsky
a0044f3aa4 Fix ATTACH query with external ON CLUSTER 2024-03-14 11:44:35 +00:00
jsc0218
b3b46ea708 Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-03-14 00:36:29 +00:00
vdimir
38b8e7ac7e
Maintain list of ASTRenameQuery children 2024-03-11 11:34:10 +00:00
Nikolai Kochetov
2b8cf8b6e9 Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-07 16:06:55 +00:00
Anton Popov
f582797b36 Merge remote-tracking branch 'upstream/master' into HEAD 2024-03-06 14:14:42 +00:00
Anton Popov
1b9e6c936e better interfaces for virtual columns 2024-03-01 22:29:56 +00:00
Nikolai Kochetov
9211495fed Merge branch 'master' into constant-folding-scalar-subqueries 2024-03-01 12:06:26 +00:00
jsc0218
96d4c9146b solve redundance with sources grant 2024-02-29 03:35:47 +00:00
Anton Popov
0ceeb13b7f refactoring of virtual columns 2024-02-28 19:58:55 +00:00
jsc0218
b4b19ae2ad
Merge branch 'master' into TableEngineGrant_version2 2024-02-28 10:56:30 -05:00
Anton Popov
9f8ac76345 Merge remote-tracking branch 'upstream/master' into HEAD 2024-02-28 14:42:37 +00:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Nikolai Kochetov
dd458932c9 Try to avoid calculation of scalar subqueries for CREATE TABLE. 2024-02-27 17:46:13 +00: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
Alexander Tokmakov
32607cc796
Merge pull request #60159 from ClickHouse/fix_create_replica
Skip sanity checks on secondary CREATE query
2024-02-23 13:53:47 +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
Kruglov Pavel
10535132c3
Merge pull request #59385 from Avogar/fix-bad-types-check
Fix validating suspicious/experimental types in nested types
2024-02-21 14:38:01 +01:00
Anton Popov
23f300b581 refactoring of virtual columns 2024-02-21 00:57:35 +00:00
Alexander Tokmakov
ec0986af0b skip sanity checks on secondary create query 2024-02-20 21:59:28 +01:00
jsc0218
2a88f61c96 check permission in the server side 2024-02-19 21:39:34 +00:00
avogar
109720d162 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-bad-types-check 2024-02-15 12:10:49 +00:00
Smita Kulkarni
3526d7982c Merge branch 'master' into Support_parameterized_view_with_analyzer 2024-02-13 13:08:35 +01:00
Michael Kolupaev
359dda5693
Fix DB type check - now it'll refuse to create in Replicated databases (#59743)
Fix DB type check - now it'll refuse to create in Replicated databases
2024-02-08 22:38:53 -08:00
Kruglov Pavel
d485e36f20
Fix style 2024-02-01 16:57:46 +01:00
avogar
aaed835415 Validate variants, use new validation on create queries 2024-01-31 12:59:26 +00:00
Yarik Briukhovetskyi
5ba82eed81
Merge pull request #58841 from yariks5s/dictionary_table_exception_fix
Fixing exceptions when table/dictionary already exist
2024-01-29 22:41:06 +01:00
avogar
92db86b829 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-28 14:33:49 +00:00
Smita Kulkarni
b7a6dbfbb9 Check engine to avoid possible seg fault 2024-01-27 18:22:37 +01:00
avogar
5833641fa5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type 2024-01-26 16:54:02 +00:00
Maksim Kita
2a327107b6 Updated implementation 2024-01-25 14:31:49 +03:00