Commit Graph

12432 Commits

Author SHA1 Message Date
liuneng
94f78ac44b use template class 2024-02-26 15:34:56 +08:00
liuneng
2279885c3e fix clangtidy error 2024-02-26 09:51:21 +08:00
liuneng
22a33884c3 fix bug 2024-02-26 09:51:21 +08:00
liuneng
ce3f95f717 fix style 2024-02-26 09:51:21 +08:00
liuneng
b0943ab3e8 add lazyAddedColumns 2024-02-26 09:51:21 +08:00
liuneng
3a2c9a8793 update 2024-02-26 09:51:21 +08:00
liuneng
5c42f2c041 optimize default value 2024-02-26 09:51:21 +08:00
liuneng
18eb75f4d2 lazy build join output 2024-02-26 09:51:21 +08: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
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
Vitaly Baranov
db119eed49
Merge pull request #60002 from vitlibar/add-config-setting-remove-backup-files-after-failure
Add new config setting "backups.remove_backup_files_after_failure"
2024-02-23 12:42:55 +01:00
Raúl Marín
1a4b4d493f
Merge pull request #60228 from Algunenano/parallel_replicas_2
Treat 2+ in allow_experimental_parallel_reading_from_replicas as 2
2024-02-23 11:17:23 +01:00
János Benjamin Antal
7cad0050c0
Disambiguate alter commands list (#59532)
* Add optional parentheses to TTL element and alter command

* Add some basic tests

* Extend tests with more test cases

* Add one more test case

* Add server setting to control new formatting behavior

* Automatic style fix

* Fix segfault in `clickhouse-format` related to new server setting

* Remove format_ttl_expressions_with_parentheses

* Fix unit test compilation failures

* Introduce global flag to control the new formatting behavior

* Revert "Fix segfault in `clickhouse-format` related to new server setting"

This reverts commit d7131a3145.

* Revert accidental changes

* Revert accidental include reorder

* Revert accidental changes

* Enable new format in client and local server

---------

Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2024-02-22 19:17:15 +01:00
Alexander Tokmakov
e56748a92c
Merge pull request #60044 from ClickHouse/fix_undead_sessions
Ability to detect undead ZooKeeper sessions
2024-02-22 18:13:15 +01:00
Vitaly Baranov
b130726a0c
Merge branch 'master' into add-config-setting-remove-backup-files-after-failure 2024-02-22 18:09:12 +01:00
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
Alexander Tokmakov
97ed2c05b0 Merge branch 'master' into fix_undead_sessions 2024-02-22 14:36:36 +01:00
Nikolai Kochetov
0e6b55ad35
Merge pull request #60220 from kitaisreal/system-backups-system-backup-log-add-query-id-and-error-stacktrace
Tables system.backups and system.backup_log add query_id and error stacktrace
2024-02-22 12:43:52 +01:00
Raúl Marín
b71bdbae1b Treat 2+ in allow_experimental_parallel_reading_from_replicas as 2 2024-02-21 15:33:37 +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
Maksim Kita
ae91c655a0 Tables system.backups and system.backup_log add query_id and error stacktrace 2024-02-21 14:36:58 +03:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser" 2024-02-21 11:33:08 +01:00
Kseniia Sumarokova
d601534a4e
Merge pull request #60166 from ClickHouse/fix-s3-queue-system-table-uuid-column
Fix system.s3queue_log
2024-02-21 10:52:45 +01:00
Alexander Tokmakov
45d407034f Merge branch 'master' into fix_undead_sessions 2024-02-20 22:21:37 +01:00
Alexander Tokmakov
ec0986af0b skip sanity checks on secondary create query 2024-02-20 21:59:28 +01:00
Robert Schulze
914b19aade
Merge pull request #59450 from rschu1ze/order-by-all-ambiguities
Replace `ORDER BY ALL` by `ORDER BY *`
2024-02-20 18:16:22 +01:00
Robert Schulze
a1a45ed881
Merge pull request #60160 from rschu1ze/bool-cast
Allow casting of bools in string representation to to true bools
2024-02-20 17:19:02 +01:00
Sergei Trifonov
d2aebe2c9a
Merge branch 'master' into alter-table-forget-partition 2024-02-20 13:56:50 +01:00
kssenii
3dac4c9743 Fix 2024-02-20 11:10:11 +01:00
Robert Schulze
5474f36e75
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-20 10:09:57 +00:00
Alexey Milovidov
b2285ce6e5 Remove extensively aggressive check 2024-02-20 06:52:07 +01:00
Robert Schulze
6b6630c5a7
Allow casting of bools in string representation to to true bools
Fixes #57256
2024-02-19 23:03:48 +00:00
Robert Schulze
6f6e74ad8b
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-19 15:19:13 +00:00
Robert Schulze
8f5a4d92a1
Fix style 2024-02-19 15:19:04 +00:00
Vitaly Baranov
f10a8868e1
Merge pull request #60097 from vitlibar/move-thread-pool-callback-runner-to-common
Move threadPoolCallbackRunner to the "Common" folder
2024-02-19 14:10:36 +01:00
Igor Nikonov
f775e1a7c6
Merge pull request #59910 from ClickHouse/query-log-on-insert-exception-over-http
Fix: absence of closing record in query_log for failed insert over http
2024-02-19 12:27:44 +01:00
Alexey Milovidov
4590d3f81a Miscellaneous 2024-02-19 05:10:39 +01:00
Alexey Milovidov
fa1ca348a4 Miscellaneous 2024-02-19 03:19:21 +01:00
Alexey Milovidov
6fd563df52 Miscellaneous 2024-02-19 02:58:51 +01:00
Alexey Milovidov
6294e0ee84 Merge branch 'better-check-for-inconsistent-formatting' into fix-inconsistent-formatting-of-explain-in-subqueries 2024-02-18 10:58:40 +01:00
Alexey Milovidov
c2555dfb27 Better check for inconsistent formatting 2024-02-18 10:58:10 +01:00
Alexey Milovidov
232fe0dd1b Fix inconsistent formatting of SELECT ... FROM (EXPLAIN ...) 2024-02-18 05:38:34 +01:00
Vitaly Baranov
3323d5ce81 Move threadPoolCallbackRunner to the "Common" folder. 2024-02-17 21:59:51 +01:00
Alexey Milovidov
6b32622c7d
Merge pull request #60080 from kitaisreal/temporary-table-already-exists-exception-message-fix
Temporary table already exists exception message fix
2024-02-17 05:17:39 +01:00
Alexey Milovidov
2f315e0eb5 Style check for abbreviations 2024-02-17 02:14:15 +01:00
Alexey Milovidov
87134acdf0
Merge pull request #60083 from Avogar/max-query-size-ddl-entry
Use max_query_size from context in DDLLogEntry instead of hardcoded 4096
2024-02-17 01:49:08 +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