Commit Graph

138744 Commits

Author SHA1 Message Date
alesapin
f5c5146153 [RFC] Try to add global Real and CPU trace collector 2024-04-02 18:04:53 +02:00
Alexander Gololobov
c297e72a4d
Merge pull request #61784 from ClickHouse/stream_system_replicas
Stream rows when reading from system.replicas
2024-04-01 09:47:55 +02:00
jsc0218
6253454f17
Merge pull request #62082 from jsc0218/RemoveDeadCodeInMergeTreeSelectProcessor
Remove Dead Code
2024-03-31 21:19:51 -04:00
Alexey Milovidov
5e7a90f85f
Merge pull request #62065 from azat/ci/fix-stress-tests-analyzer
Fix stress tests for analyzer due to experimental WINDOW VIEW (by disabling it)
2024-04-01 00:16:02 +03:00
Alexey Milovidov
f31f338ad0
Merge pull request #62115 from canhld94/fix_external_table_bool
Fix external table cannot parse data type Bool
2024-03-31 23:36:22 +03:00
Alexander Gololobov
0997b18abe
Merge pull request #62064 from ClickHouse/y2k_system_replicas
Support more that 255 replicas in system table
2024-03-31 15:58:44 +02:00
Alexander Gololobov
47e865334f Fix test with DatabaseReplicated 2024-03-31 13:19:22 +02:00
Duc Canh Le
e8953a379b fix external table with Bool
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-03-31 07:54:58 +00:00
Ilya Golshtein
6b9b597051
Crash in Engine Merge if Row Policy does not have expression (#61971) 2024-03-30 14:34:01 -04:00
Alexey Milovidov
975f0187d4
Merge pull request #62090 from ClickHouse/revert-output-pretty-tty
Revert output Pretty in tty
2024-03-30 06:45:42 +03:00
Alexey Milovidov
9182789ed8 Update test 2024-03-30 02:36:03 +01:00
Nikolay Degterinsky
ee42ea97f2
Merge pull request #62040 from azat/rmt/create-from-replica
Fix CREATE TABLE w/o columns definition for ReplicatedMergeTree
2024-03-30 02:27:46 +01:00
Nikolai Kochetov
697e72c13d
Merge pull request #61933 from ClickHouse/gb-use-null-analyzer-crashes
Fix some crashes with analyzer and group_by_use_nulls.
2024-03-29 19:29:55 +01:00
Nikolai Kochetov
c59961e980
Merge pull request #62046 from ClickHouse/fix-optimize_arithmetic_operations_in_aggregate_functions-function-type
Fix optimize_arithmetic_operations_in_aggregate_functions
2024-03-29 19:28:23 +01:00
Nikolai Kochetov
dc45666b4f
Merge pull request #62059 from ClickHouse/fix-type-after-IfChainToMultiIfPass
Ignore IfChainToMultiIfPass if returned type changed.
2024-03-29 19:26:55 +01:00
Nikolai Kochetov
45cac7e5c2
Merge pull request #62066 from ClickHouse/fix-convert-in-to-equals-type
Fix type for ConvertInToEqualPass
2024-03-29 19:26:28 +01:00
Nikolai Kochetov
686534a460
Merge pull request #61992 from kitaisreal/aggregator-parallel-merge-cancellation
Aggregator parallel merge cancellation
2024-03-29 19:25:38 +01:00
robot-ch-test-poll4
ca174b7ef2
Merge pull request #62094 from filimonov/patch-9
Update storing-data.md
2024-03-29 19:11:39 +01:00
filimonov
c946a3a89c
Update storing-data.md 2024-03-29 17:59:47 +01:00
Alexey Milovidov
9da4ce29db Revert output Pretty in tty 2024-03-29 16:16:15 +01:00
jsc0218
ba62b01f4d remove dead code 2024-03-29 02:23:53 +00:00
Nikolay Degterinsky
d47a784900
Merge pull request #62016 from ClickHouse/evillique-patch-1
Fix clickhouse-test
2024-03-29 01:00:59 +01:00
Nikolay Degterinsky
85bba8c59d
Merge pull request #62019 from ClickHouse/evillique-patch-2
Fix logs saving in DatabaseReplicated tests
2024-03-29 01:00:19 +01:00
Alexander Gololobov
1fde8942d6 Read system.replicas with different max_block_size 2024-03-28 21:00:55 +01:00
Han Fei
419ac380f1
Merge pull request #61953 from hanfei1991/hanfei/fix-quorum-retry
fix logical-error when undoing quorum insert transaction
2024-03-28 20:49:32 +01:00
Alexander Gololobov
d967a9280c Update test 2024-03-28 19:41:30 +01:00
Nikolai Kochetov
fd01a12276 Fixing another case with grouping set 2024-03-28 18:26:15 +00:00
Nikolai Kochetov
8758d7f3a8 Fixing test. 2024-03-28 18:19:40 +00:00
Nikolai Kochetov
54d7a6041e Fix type for ConvertInToEqualPass 2024-03-28 17:35:38 +00:00
Azat Khuzhin
a94143ee19 Fix stress tests for analyzer due to experimental WINDOW VIEW (by disabling it)
CI found [1]:

    2024.03.28 13:16:00.797344 [ 99740 ] {} <Error> Application: Caught exception while loading metadata: Code: 695. DB::Exception: Load job 'load table 01069_window_view_proc_tumble_watch.wv' failed: Code: 1. DB::Exception: Experimental WINDOW VIEW feature is not supported with new infrastructure for query analysis (the setting 'allow_experimental_analyzer'): Cannot attach table `01069_window_view_proc_tumble_watch`.`wv` from metadata file /var/lib/clickhouse/store/dd8/dd82a4f5-5485-4747-9172-8976d1194c54/wv.sql from query ATTACH WINDOW VIEW `01069_window_view_proc_tumble_watch`.wv UUID '35cc7d27-df3b-4569-9cb9-2ccf6cb1ff4c' (`count` UInt64) ENGINE = Memory AS SELECT count(a) AS count FROM `01069_window_view_proc_tumble_watch`.mt GROUP BY tumble(timestamp, toIntervalSecond('1'), 'US/Samoa') AS wid. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below):

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/61997/ced095394b6fb6d50ed8b6834bd5911ad4702c6e/stateless_tests__tsan__s3_storage__[5_5].html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-28 18:27:43 +01:00
Alexander Gololobov
be3c498833 Support more that 255 replicas in system table 2024-03-28 18:22:26 +01:00
Nikolai Kochetov
9c411a2503 Merge branch 'master' into gb-use-null-analyzer-crashes 2024-03-28 16:44:08 +00:00
Nikolai Kochetov
482400cd28
Merge pull request #61998 from ClickHouse/fix-scalars-create-as-select
Fix scalars create as select
2024-03-28 17:35:50 +01:00
Nikolai Kochetov
c834a11b65 Ignore IfChainToMultiIfPass if returned type changed. 2024-03-28 16:32:12 +00:00
Max K
b5b347e86f
Merge pull request #62044 from ClickHouse/ci_fix_for_kill_timeout_env
CI: fix for timeout env variable
2024-03-28 16:35:50 +01:00
Nikolai Kochetov
fb235c0840 Fix optimize_arithmetic_operations_in_aggregate_functions optimization which could change result type. 2024-03-28 14:44:45 +00:00
Nikita Mikhaylov
e2e0584d8d
Add test for #53352 (#61886) 2024-03-28 15:42:12 +01:00
Max Kainov
863f479ff0 CI: fix for timeout env variable 2024-03-28 14:00:04 +00:00
Nikolai Kochetov
1a75d3ed46 Updating test. 2024-03-28 13:58:58 +00:00
Kruglov Pavel
facde7541f
Merge pull request #61567 from Avogar/fix-analyzer-group-by-use-nulls
Fix logical error in group_by_use_nulls + grouping set + analyzer + materialize/constant
2024-03-28 14:38:11 +01:00
Kruglov Pavel
9b5b44dd5f
Merge pull request #61889 from Avogar/allow-to-save-bad-json-escape-sequences
Add a setting to allow saving bad escape sequences in JSON input formats
2024-03-28 14:34:02 +01:00
Kruglov Pavel
70bb85a754
Merge pull request #61999 from Avogar/variant-number-bool
Don't treat Bool and number variants as suspicious in Variant type
2024-03-28 14:33:24 +01:00
Kseniia Sumarokova
0244e0851a
Merge pull request #61954 from ClickHouse/follow-up-broken-projections
Follow up to #60452
2024-03-28 14:23:28 +01:00
Azat Khuzhin
f4c5be3bb4 Fix CREATE TABLE w/o columns definition for ReplicatedMergeTree
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-28 14:06:52 +01:00
Nikolai Kochetov
f313eb9737
Merge pull request #62038 from ClickHouse/add-analyzer-pattern-to-00002
Add analyzer pattern to 00002_log_and_exception_messages_formatting
2024-03-28 13:40:10 +01:00
Yarik Briukhovetskyi
003d258ba1
Merge pull request #61862 from HowePa/truncate_all_tables
add TRUNCATE ALL TABLES
2024-03-28 13:32:46 +01:00
robot-ch-test-poll4
68670e6e01
Merge pull request #62023 from ClickHouse/docs-remove-duplicate-zh-page
[Docs] Remove duplicate Chinese MaterializedMySQL page
2024-03-28 13:28:02 +01:00
Kseniia Sumarokova
5ba2ad53b6
Merge pull request #61163 from ClickHouse/filecache-better-try-reserve
Less contention in cache, part 3
2024-03-28 13:24:22 +01:00
Maksim Kita
a376a7354f Fixed code review issues 2024-03-28 15:04:14 +03:00
Nikolai Kochetov
4ad2c78afb Add analyzer pattern to 00002_log_and_exception_messages_formatting 2024-03-28 11:16:21 +00:00