Commit Graph

53370 Commits

Author SHA1 Message Date
Kruglov Pavel
5fd2582e83
Merge pull request #59500 from Avogar/exponent-floats-inference
Don't infer floats in exponential notation by default
2024-02-19 13:51:07 +01:00
Alexey Milovidov
ffb89529b0 Better formatting 2024-02-19 13:40:28 +01:00
Alexey Milovidov
8ed180bd3b Fix trash 2024-02-19 13:36:53 +01:00
Yarik Briukhovetskyi
cfa198c477
remove comment
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2024-02-19 13:34:00 +01:00
Alexey Milovidov
bf7449aa40 Fix garbage 2024-02-19 13:15:35 +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
84336d3ace Merge branch 'master' of github.com:ClickHouse/ClickHouse into implement-todo-2 2024-02-19 11:35:47 +01:00
Alexey Milovidov
04a695d05b
Merge pull request #60125 from ClickHouse/fix-bad-log-message-4
Fix bad log message
2024-02-19 11:35:11 +01:00
Alexey Milovidov
a10eddecef
Merge pull request #59697 from ClickHouse/check-stack-size-in-parser
Check stack size in Parser
2024-02-19 11:33:04 +01:00
Alexey Milovidov
de8b3476ab Update shit-test 2024-02-19 11:30:42 +01:00
Alexey Milovidov
db9026b5ac Fix trash 2024-02-19 11:09:37 +01:00
Alexey Milovidov
df48106cd5
Merge pull request #60015 from azat/values-quote-escape
Fix INSERT into SQLite with single quote (by escaping single quotes with a quote instead of backslash)
2024-02-19 10:37:45 +01:00
alesapin
6565423b1a Review fix 2024-02-19 10:32:36 +01:00
Alexey Milovidov
327ba7d174 Fix bad log message 2024-02-19 09:30:19 +01:00
Alexey Milovidov
c55204d8ef Implement TODO 2024-02-19 09:29:19 +01:00
Alexey Milovidov
1f882063e7 Fix build 2024-02-19 08:44:53 +01:00
Alexey Milovidov
baf0fa1458 Fix bad test 2024-02-19 08:42:34 +01:00
Alexey Milovidov
a4cbe4b780 Attempt to remove a lot of trash 2024-02-19 08:28:07 +01:00
Alexey Milovidov
c6d75d1486 Attempt to remove a lot of trash 2024-02-19 08:15:28 +01:00
Alexey Milovidov
17e7c7a0cc Merge branch 'master' into fix-inconsistent-formatting 2024-02-19 07:32:50 +01:00
Alexey Milovidov
7fa9c733bd Fix Fibers 2024-02-19 07:27:02 +01:00
Alexey Milovidov
ad26b6fc8d Remove useless headers 2024-02-19 07:08:24 +01:00
Alexey Milovidov
e2de74cf66 Fix debug 2024-02-19 05:34:40 +01:00
taiyang-li
2d6b4b400c Merge remote-tracking branch 'origin/master' into opt_sum_decimal 2024-02-19 12:25:22 +08:00
Alexey Milovidov
e80bc24163 Writing object name is useless for our stack traces 2024-02-19 05:18:17 +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
6eff309185 Merge branch 'master' of github.com:ClickHouse/ClickHouse into check-stack-size-in-parser 2024-02-19 02:44:47 +01:00
Alexey Milovidov
6463863271
Merge pull request #60087 from ClickHouse/implement-todo
I found TODO in the code, that can be implemented
2024-02-19 01:37:17 +01:00
Alexey Milovidov
6c2c1710dd
Merge pull request #60093 from ClickHouse/lazy-primary-key-loading
Lazy loading of primary keys in memory
2024-02-19 01:36:55 +01:00
Alexey Milovidov
f469fd084f
Merge pull request #60102 from ClickHouse/fix-inconsistent-formatting-of-explain-in-subqueries
Fix inconsistent formatting of explain in subqueries
2024-02-19 01:35:57 +01:00
Alexey Milovidov
51dc53dcbd
Merge pull request #60108 from ClickHouse/insignificant-changes
Insignificant changes
2024-02-19 01:34:51 +01:00
alesapin
29e3e7cb96 Better if only 1 layer 2024-02-18 13:19:35 +01:00
alesapin
8f29320a73 Flush StorageBuffer into multiple threads if num_layers > 1 2024-02-18 13:15:24 +01:00
Alexey Milovidov
8eed0f7928 Merge branch 'fix-inconsistent-formatting-of-explain-in-subqueries' into implement-todo 2024-02-18 11:04:24 +01:00
Alexey Milovidov
8d6e6d67ed Merge branch 'fix-inconsistent-formatting-of-explain-in-subqueries' into lazy-primary-key-loading 2024-02-18 11:04:01 +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
096a679d6b Insignificant changes 2024-02-18 10:47:18 +01:00
Alexey Milovidov
73ab7a5556 Merge branch 'master' of github.com:ClickHouse/ClickHouse into implement-todo 2024-02-18 09:24:22 +01:00
Alexey Milovidov
232fe0dd1b Fix inconsistent formatting of SELECT ... FROM (EXPLAIN ...) 2024-02-18 05:38:34 +01:00
Alexey Milovidov
c083498cf8 Apply review comments 2024-02-18 05:13:17 +01:00
Alexey Milovidov
5ef91bd4ba Fix a test 2024-02-18 05:06:24 +01:00
Alexey Milovidov
3035b8f80c Fix a test 2024-02-18 03:20:51 +01:00
Alexey Milovidov
c50f8e7954 Remove a header 2024-02-18 02:12:31 +01:00
Alexey Milovidov
8406a0353a Merge branch 'master' into fix-inconsistent-formatting 2024-02-18 01:49:08 +01:00
Vitaly Baranov
3323d5ce81 Move threadPoolCallbackRunner to the "Common" folder. 2024-02-17 21:59:51 +01:00
Alexey Milovidov
f075961728 Update 2024-02-17 11:37:31 +01:00
Alexey Milovidov
8ab8d86b25 Merge branch 'master' of github.com:ClickHouse/ClickHouse into settings-avoid-overflow 2024-02-17 11:37:07 +01:00
Alexey Milovidov
0e944d400c
Merge pull request #60092 from ClickHouse/index-preparation
A small preparation for better handling of primary key in memory
2024-02-17 10:15:06 +01:00
Alexey Milovidov
c5107afb94
Merge branch 'master' into lazy-primary-key-loading 2024-02-17 10:14:35 +01:00
Alexey Milovidov
69dfd721ce Fix inconsistent formatting of INSERT queries 2024-02-17 10:11:59 +01:00
Alexey Milovidov
dbb0ed8157 Fix error 2024-02-17 10:08:36 +01:00
Alexey Milovidov
3d21d546a9 Better code 2024-02-17 09:44:10 +01:00
Alexey Milovidov
f4539fc781 Merge branch 'master' of github.com:ClickHouse/ClickHouse into settings-avoid-overflow 2024-02-17 09:10:43 +01:00
Alexey Milovidov
6cae75751b
Merge pull request #60049 from ClickHouse/less-memory-usage-primary-key
Maybe less memory usage for primary keys in memory
2024-02-17 08:58:02 +01:00
Alexey Milovidov
021e11e4fc Add a setting for lazy loading 2024-02-17 06:42:53 +01:00
Alexey Milovidov
423ff759f1 Lazy loading of primary keys in memory 2024-02-17 06:35:03 +01:00
Alexey Milovidov
e9cf92245f Move methods to .cpp 2024-02-17 06:20:44 +01:00
Alexey Milovidov
fce3a8cafc A small preparation for better handling of primary key in memory 2024-02-17 06:16:56 +01:00
Alexey Milovidov
ac5bef7c74 A small preparation for better handling of primary key in memory 2024-02-17 06:16:01 +01:00
Alexey Milovidov
b5efbe62e7 Avoid overflow in settings 2024-02-17 05:41:52 +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
46c2f85314 Merge branch 'master' into less-memory-usage-primary-key 2024-02-17 04:55:59 +01:00
Alexey Milovidov
d10b18afeb I found TODO in the code, that can be implemented 2024-02-17 02:21:55 +01:00
Alexey Milovidov
9686bb51bc Style check for abbreviations 2024-02-17 02:15:14 +01:00
Alexey Milovidov
2f315e0eb5 Style check for abbreviations 2024-02-17 02:14:15 +01:00
Alexey Milovidov
509d8ee99c Apply review comments 2024-02-17 01:54:54 +01:00
Alexey Milovidov
ceb65bb114 Merge branch 'master' of github.com:ClickHouse/ClickHouse into print-cpu-flags-at-startup 2024-02-17 01:53:56 +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
Alexey Milovidov
731c484b3d
Revert "Implement system.dns_cache table (#59856)"
This reverts commit b5ef034697.
2024-02-17 01:46:41 +01:00
Kirill Nikiforov
b5ef034697
Implement system.dns_cache table (#59856)
* system.dns_cache table WIP

* system.dns_cache table

* rollback unexpected contrib changes

* rollback unexpected changes

* add docs

* code style fixes

* optimize dns cache exporting

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* cr fixes

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* Update 02981_system_dns_cache_table.sql

* Update 02981_system_dns_cache_table.reference

---------

Co-authored-by: pufit <pufit@clickhouse.com>
2024-02-16 14:31:22 -05: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
31479649fe
Merge pull request #59908 from azat/rmt-uuid-macro
[RFC] Allow uuid in replica_path if CREATE TABLE explicitly has it
2024-02-16 17:31:59 +01:00
Alexander Tokmakov
3813a97775
Merge pull request #59895 from azat/rmt-mutations-polling
Do not pull mutations if pulling replication log had been stopped
2024-02-16 17:24:30 +01:00
Maksim Kita
96d9782439 Temporary table already exists exception message fix 2024-02-16 19:16:02 +03:00
Igor Nikonov
cb0ce2aaa9 Fix build 2024-02-16 15:26:08 +00:00
Dmitry Novik
a3c34a7cc2
Merge pull request #54211 from ClickHouse/Support_parameterized_view_with_analyzer
Refactor parameterized view & add support for new analyzer
2024-02-16 16:13:49 +01:00
Kruglov Pavel
4d6f167e0c
Merge pull request #59092 from Avogar/auto-format-detection
Try to detect file format automatically during schema inference if it's unknown
2024-02-16 14:32:18 +01:00
Alexey Milovidov
25f2501c7f
Merge pull request #60013 from ClickHouse/verify-parser-on-server-side
Verify formatting consistency on the server-side
2024-02-16 13:48:10 +01:00
Igor Nikonov
118263d8e8 Merge remote-tracking branch 'origin/master' into query-log-on-insert-exception-over-http 2024-02-16 12:40:10 +00:00
alesapin
0a189e830c
Merge pull request #59942 from kitaisreal/storage-system-tables-add-metadata-version
StorageSystemTables add metadata_version
2024-02-16 13:17:22 +01:00
Alexey Milovidov
0787e9f402 Merge remote-tracking branch 'origin/master' into print-cpu-flags-at-startup 2024-02-16 13:07:03 +01:00
Alexey Milovidov
5b83e771ed Print CPU flags at startup 2024-02-16 13:06:57 +01:00
Raúl Marín
586c1e9b4e
Merge pull request #60026 from Algunenano/fix_optimize_uniq_to_count
Fix optimize_uniq_to_count removing the column alias
2024-02-16 11:52:46 +01:00
Raúl Marín
e168329ade
Revert "ReplicatedMergeTree invalid metadata_version fix" 2024-02-16 11:44:16 +01:00
Kseniia Sumarokova
0f9cf00740
Merge pull request #59630 from vitlibar/fix-read-beyond-last-offset
Fix error "Read beyond last offset" for AsynchronousBoundedReadBuffer
2024-02-16 11:11:17 +01:00
Kseniia Sumarokova
d4ab2bf38e
Merge pull request #60036 from ClickHouse/s3queue-fix-possible-no-node-shard
Fix possible exception from s3queue table on drop
2024-02-16 11:09:42 +01:00
Antonio Andelic
0f489de46e
Merge pull request #59945 from ClickHouse/keeper-prometheus-filtered-events
Send only Keeper related metrics/events for Prometheus
2024-02-16 09:43:43 +01:00
Dmitry Novik
2b02bcd67b
Merge pull request #59926 from azat/analyzer/NormalizeCountVariantsVisitor-fix
Do not rewrite sum() to count() if return value differs in analyzer
2024-02-16 09:16:46 +01:00
Alexey Milovidov
5b13c167ee
Merge pull request #60022 from Algunenano/arrayfold_logical
Fix several logical errors in arrayFold
2024-02-16 03:19:13 +01:00
Alexey Milovidov
00c28d97ed Merge branch 'master' into verify-parser-on-server-side 2024-02-16 01:29:08 +01:00
Alexey Milovidov
885e8dad63
Merge pull request #60042 from Algunenano/format_not
Fix formatting of NOT with single literals
2024-02-16 01:28:45 +01:00
Alexey Milovidov
2f36c9e965 Maybe less memory usage for primary keys in memory 2024-02-16 00:56:24 +01:00
Alexey Milovidov
3470fc70b2 Merge branch 'master' into check-stack-size-in-parser 2024-02-15 23:45:33 +01:00
Alexey Milovidov
15683ae6a0 Revert wrong modification 2024-02-15 22:58:07 +01:00
Igor Nikonov
7b1fbec4e5 Merge remote-tracking branch 'origin/master' into query-log-on-insert-exception-over-http 2024-02-15 21:11:38 +00:00
Raúl Marín
a249840421 Fix formatting of NOT with single literals 2024-02-15 21:44:22 +01:00