Commit Graph

138606 Commits

Author SHA1 Message Date
Azat Khuzhin
35722be8ec Add ability to override initial INSERT SETTINGS via SYSTEM FLUSH DISTRIBUTED
This is useful to overwrite settings in the initial query during force
flush with SYSTEM FLUSH DISTRIBUTED.

For example imagine that your server is out of queries
(max_max_concurrent_queries_for_all_users had been reached), but you
want to flush the distributed table anyway, after this patch you can
use something like this:

    SYSTEM FLUSH DISTRIBUTED dist SETTINGS max_concurrent_queries_for_all_users=1000000

And also fix flush_on_detach for SYSTEM FLUSH DISTRIBUTED, it should
ignore flush_on_detach.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-24 21:32:34 +01:00
Alexey Milovidov
6323ca0960
Merge pull request #61393 from CurtizJ/fix-nullable-consecutive-keys
Fix consecutive keys optimization for nullable keys
2024-03-24 23:19:22 +03:00
Alexey Milovidov
9210712f4f
Merge pull request #60112 from Unalian/feat-59377
[feature]: allow to attach parts from a different disk
2024-03-24 23:12:43 +03:00
Shubham Ranjan
e2974c9f4b
chore: update xxhash to v0.8.2 2024-03-25 01:40:03 +05:30
Smita Kulkarni
0d54dbf460 Merge branch 'master' into Azure_write_buffer 2024-03-24 20:09:47 +01:00
Alexey Milovidov
51aada55b1
Merge pull request #61736 from ClickHouse/cucurbita
Fix segfault in SquashingTransform
2024-03-24 22:01:41 +03:00
Alexey Milovidov
bd8dbef9d2
Merge pull request #61827 from azat/better-log-error
Better message for logging errors
2024-03-24 21:58:15 +03:00
Alexey Milovidov
6c8e5ff0cf
Merge pull request #61828 from azat/fix-suppressions
Fix sanitizers suppressions
2024-03-24 21:57:14 +03:00
pufit
15883a1f20 Merge branch 'refs/heads/master' into pufit/volnitsky-assert-fix 2024-03-24 14:43:14 -04:00
Alexey Milovidov
7920b3c74c
Merge pull request #61831 from ClickHouse/remove-datastreams-2
Remove DataStreams (2)
2024-03-24 21:03:11 +03:00
Alexey Milovidov
902cbd0724
Merge pull request #61830 from ClickHouse/remove-unused-code
Remove unused code
2024-03-24 21:02:52 +03:00
Alexey Milovidov
717603802d
Merge pull request #61785 from danipozo/azure-use-managed-identity-for-backups
Use managed identity for backups IO in Azure Blob Storage
2024-03-24 20:31:12 +03:00
vdimir
0e7bedc671
Fix resolvedIdenfiersFromJoinAreEquals function visibility 2024-03-24 17:30:51 +00:00
Alexey Milovidov
233d41d5df Update test 2024-03-24 17:39:47 +01:00
Alexey Milovidov
0067ef0f97
Merge pull request #57857 from canhld94/ch_external_table_enum
Allow declaring enum in external table structure
2024-03-24 19:33:47 +03:00
Alexey Milovidov
8ddfe9a48b
Merge pull request #61665 from ClickHouse/build-improvements-magic-enum-template-instantiation
Build improvements by removing magic enum from header and apply some explicit template instantiation
2024-03-24 19:31:46 +03:00
Alexey Milovidov
93beef8bb5
Merge pull request #61399 from azat/order-by-SimpleAggregateFunction
Forbid SimpleAggregateFunction in ORDER BY of MergeTree tables
2024-03-24 19:31:18 +03:00
Alexey Milovidov
f271590bc7
Merge pull request #60656 from peter279k/add_now_option
Add --now option to enable and start the service
2024-03-24 19:30:34 +03:00
Alexey Milovidov
170153ff49 Merge branch 'master' into enable-output_format_pretty_row_numbers 2024-03-24 17:28:23 +01:00
Alexey Milovidov
77932e5d67
Merge pull request #61795 from ClickHouse/dont-cut-single-value
Don't cut single value in Pretty formats.
2024-03-24 19:26:41 +03:00
Alexey Milovidov
2796dc7eb1
Merge branch 'master' into dont-cut-single-value 2024-03-24 19:26:29 +03:00
Alexey Milovidov
2282213e08
Merge pull request #61816 from fm4v/fix-flaky-tests
Fix flaky tests (stateless, integration)
2024-03-24 19:25:58 +03:00
Alexey Milovidov
1bacfaccd4
Merge pull request #61817 from ClickHouse/parquet-orc-arrow-usability
Change defaults of Parquet/ORC/Arrow for better usability
2024-03-24 19:25:34 +03:00
Alexey Milovidov
aca3978f2d Remove DataStreams (2) 2024-03-24 17:21:53 +01:00
Alexey Milovidov
4db69c36f9 Remove unused code 2024-03-24 17:15:47 +01:00
Alexey Milovidov
5768daf666
Merge pull request #61824 from ClickHouse/remove-datastreams
Remove DataStreams
2024-03-24 19:12:05 +03:00
robot-ch-test-poll3
d510f2bb6b
Merge pull request #61825 from ClickHouse/docs-search-advanced-dashboard
[Docs] Add keywords for advanced dashboard
2024-03-24 17:10:43 +01:00
Azat Khuzhin
adfe1459cf Better message for logging errors
Right now it is possible to get something like this [1]:

    Failed to write a log message: src/Storages/Kafka/KafkaConsumer.cpp:342

Without any details (likely there are some issues with fmt).

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/61526/958659584957ff419a9305d9c7edee5703fedbdc/integration_tests__tsan__[6_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-24 16:40:08 +01:00
Azat Khuzhin
90e1f7d8ec Fix sanitizers suppressions
The -fsanitize-ignorelist (-fsanitize-blacklist is the alias for it)
accepts not the suppressions but special case list, that accept only
`fun` and `src`, so convert tsan_suppressions.txt into a proper
tsan_ignorelist.txt with a proper syntax, otherwise suppressions simply
does not work [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/61526/958659584957ff419a9305d9c7edee5703fedbdc/integration_tests__tsan__[6_6].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-24 16:22:23 +01:00
alesapin
a41c005a6e
Merge branch 'master' into Azure_write_buffer 2024-03-24 15:04:18 +01:00
alesapin
49f007af60 Merge remote-tracking branch 'origin/master' into fix_wait_for_mutation_done 2024-03-24 13:54:39 +01:00
Nikolai Kochetov
ede245e478
Merge pull request #61649 from ClickHouse/fix-00223_shard_distributed_aggregation_memory_efficient-analyzer
Fix 00223_shard_distributed_aggregation_memory_efficient with analyzer
2024-03-24 12:38:46 +01:00
Peter
9d71d596f6
Merge branch 'master' of origin 2024-03-24 19:08:32 +08:00
vdimir
ee24aa6a52
bump 2024-03-24 08:15:34 +00:00
Justin de Guzman
af9d35dc59
[Docs] Add keywords for advanced dashboard
Add keywords for advanced observability dashboard for better search
2024-03-24 00:07:08 -07:00
pufit
622b2472b0 Another assertions fix, better initialization 2024-03-23 22:06:04 -04:00
robot-clickhouse-ci-1
e155e143c5
Merge pull request #56085 from bezik/patch-7
Update index.md
2024-03-24 02:38:29 +01:00
Alexey Milovidov
29a0a657de
Merge pull request #47427 from sunny19930321/add-materialized-view-query-check
Modify materalized view query, check inner table structure
2024-03-24 04:23:49 +03:00
Alexey Milovidov
d146cd51e5
Update index.md 2024-03-24 04:20:54 +03:00
Alexey Milovidov
008c252a26
Merge pull request #61365 from evillique/fix-attach-on-cluster
Fix ATTACH query with external ON CLUSTER
2024-03-24 04:17:42 +03:00
Alexey Milovidov
8936528372 Merge branch 'master' into order-by-SimpleAggregateFunction 2024-03-24 02:16:57 +01:00
Alexey Milovidov
82fa96d99c
Update 03020_order_by_SimpleAggregateFunction.sql 2024-03-24 04:16:10 +03:00
Alexey Milovidov
2847b2984f
Update ExternalLoaderStatus.cpp 2024-03-24 04:14:32 +03:00
Alexey Milovidov
46a4307c08 Fix style 2024-03-24 02:11:12 +01:00
Alexey Milovidov
f4d5821637
Merge pull request #61821 from ClickHouse/fix-log-exception-message-formatting
Fix test "00002_log_and_exception_messages_formatting"
2024-03-24 04:09:48 +03:00
Alexey Milovidov
d5be26e56a
Merge pull request #61822 from ClickHouse/fix-test-4
A test is too slow for debug
2024-03-24 04:09:30 +03:00
Alexey Milovidov
d249d53de6 Remove DataStreams 2024-03-24 02:07:41 +01:00
Alexey Milovidov
1acdf691ad Update test 2024-03-24 00:59:23 +01:00
Alexey Milovidov
df8a6b8d0c Merge branch 'master' into enable-output_format_pretty_row_numbers 2024-03-24 00:58:12 +01:00
Alexey Milovidov
5e83c492d1
Merge pull request #61800 from ClickHouse/output-format-in-client-unification
Unification of handling formats in `clickhouse-client` and `clickhouse-local`
2024-03-24 02:57:01 +03:00