Commit Graph

138794 Commits

Author SHA1 Message Date
李扬
5f786647fb
Merge branch 'ClickHouse:master' into complex_map_key 2024-04-02 12:10:37 +08:00
Han Fei
89108202d5
Merge pull request #58705 from zhongyuankai/drop_tables
Supports DROP multiple tables
2024-04-01 22:43:55 +02:00
Raúl Marín
83c050ad36
Merge pull request #62135 from Algunenano/revert_optimize_single_in
Revert "Merge pull request #61564 from liuneng1994/optimize_in_single_value"
2024-04-01 18:55:16 +02:00
Han Fei
3b1140b6c4
Merge pull request #62037 from jincong8973/docs-zh-string-search-functions
Update string-search-functions.md
2024-04-01 18:46:43 +02:00
Anton Popov
afa5665daf
Merge pull request #60676 from CurtizJ/add-virtual-columns
Add virtual columns `_block_offset` and `_data_version` for `MergeTree` tables
2024-04-01 18:35:36 +02:00
Anton Popov
0c25ea2230
Merge pull request #61551 from CurtizJ/better-marks-loading
More optimal loading of marks
2024-04-01 18:31:01 +02:00
Han Fei
99a5e1ed2d improve 2024-04-01 17:59:38 +02:00
Han Fei
51db06992d refine 2024-04-01 17:54:48 +02:00
Raúl Marín
dcec326f34
Merge pull request #62136 from Algunenano/fix_upgradfe
Fix upgrade check
2024-04-01 17:12:05 +02:00
Han Fei
fe8d4b5dfc refine 2024-04-01 17:06:54 +02:00
Raúl Marín
a7f48cf936 Fix upgrade check 2024-04-01 14:12:36 +02:00
Raúl Marín
b2e764f633 Revert "Merge pull request #61564 from liuneng1994/optimize_in_single_value"
This reverts commit 20a45b4073, reversing
changes made to a642f4d3ec.
2024-04-01 13:51:56 +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
zhongyuankai
79b486b8bf batter 2024-03-29 09:53:50 +08: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