Commit Graph

101900 Commits

Author SHA1 Message Date
Kseniia Sumarokova
37d1eb353f
Update AsynchronousReadIndirectBufferFromRemoteFS.cpp 2022-11-25 16:01:06 +01:00
Kseniia Sumarokova
ce062d2e01
Update AsynchronousReadIndirectBufferFromRemoteFS.cpp 2022-11-25 15:03:51 +01:00
Nikolai Kochetov
8d3ccf1c52
Merge pull request #43636 from ClickHouse/fix-43478
Fix #43478
2022-11-25 14:49:41 +01:00
Peignon Melvyn
41d405476a
Fix typo in replication.md (#43643) 2022-11-25 13:57:19 +01:00
Alexander Tokmakov
7c47af433e
Merge pull request #43231 from ClickHouse/fix_parts_to_do_detection
Fix bug in replication queue which can lead to premature mutation finish
2022-11-25 15:17:37 +03:00
Alexander Tokmakov
ace36e2267
Merge branch 'master' into fix_parts_to_do_detection 2022-11-25 15:15:56 +03:00
Sema Checherinda
15a6ce254b
Merge pull request #41145 from CheSema/lock-free-drop-partition
Delete parts by replacing them with empty parts
2022-11-25 12:54:30 +01:00
Antonio Andelic
547e3ba367
Merge pull request #43583 from tbsal/tbsal/join_fix
Do not assume that the original query was valid when transforming JOINs
2022-11-25 12:25:18 +01:00
Alexander Tokmakov
5a5f2a0df4
Merge pull request #43626 from ClickHouse/tavplubix-patch-7
Fix flaky 01175_distributed_ddl_output_mode_long
2022-11-25 13:31:21 +03:00
Maksim Kita
fbb404a4c6
Merge pull request #43547 from kitaisreal/analyzer-uniq-injective-functions-elimination-pass-fix
Analyzer UniqInjectiveFunctionsEliminationPass
2022-11-25 13:14:33 +03:00
Mikhail f. Shiryaev
4081a5f9e9
Merge pull request #43637 from ClickHouse/non-recursive-submodules
Do not checkout submodules recursively
2022-11-25 10:20:58 +01:00
Han Fei
18a9535c36
Merge pull request #43621 from bit-ranger/master
Update sparse-primary-indexes.md to correct typo
2022-11-25 09:23:09 +01:00
Han Fei
d07defacfc
Merge branch 'master' into master 2022-11-25 09:22:17 +01:00
Alexander Tokmakov
25cd0a9ca2
Update 01175_distributed_ddl_output_mode_long.sh 2022-11-24 23:32:27 +03:00
Mikhail f. Shiryaev
cfdc693f60
Do not checkout submodules recursively 2022-11-24 19:59:07 +01:00
Nikolai Kochetov
bb98a7b433 Fix #43478 2022-11-24 17:28:01 +00:00
Ilya Yatsishin
6fcee9df85
Merge pull request #43496 from qoega/progress-add-writtten-rows 2022-11-24 17:31:02 +01:00
Alexander Tokmakov
6531ff765d
Merge pull request #43458 from ClickHouse/tavplubix-patch-5
Fix createTableSharedID again
2022-11-24 16:21:50 +03:00
Alexander Tokmakov
f63dc001fd
Update 01175_distributed_ddl_output_mode_long.sh 2022-11-24 16:07:52 +03:00
alesapin
52821a331a
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-11-24 14:04:03 +01:00
alesapin
188069117e
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-11-24 14:02:26 +01:00
alesapin
5355f82448
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-11-24 14:02:19 +01:00
bit-ranger
a0e490e152
Merge branch 'master' into master 2022-11-24 20:25:36 +08:00
bit-ranger
1d16dde6ba
Update sparse-primary-indexes.md to correct typo 2022-11-24 21:00:39 +09:00
Alexander Tokmakov
52d33fff00
Merge pull request #43366 from zzsmdfj/issue_15357_MaterializeMySQL_support_drop_mulit_table
MaterializeMySQL_support_drop_mulit_table
2022-11-24 14:54:24 +03:00
Sema Checherinda
6fd7dcf26f
Merge branch 'master' into lock-free-drop-partition 2022-11-24 12:34:19 +01:00
alesapin
f64f0461fe
Merge pull request #43288 from ClickHouse/Enable_compress_marks_and_primary_key
Enable compress marks and primary key for CI
2022-11-24 12:24:04 +01:00
Vladimir C
84ea4f8acf
Merge pull request #43613 from ClickHouse/revert-41245-hlee-s390x-lru-file-cache 2022-11-24 12:23:14 +01:00
Vladimir C
a2e1269ef2
Revert "Fix endian issue in integer hex string conversion" 2022-11-24 12:22:22 +01:00
Vladimir C
b784128c88
Merge pull request #41245 from HarryLeeIBM/hlee-s390x-lru-file-cache 2022-11-24 12:08:36 +01:00
Vladimir C
4819bc24b0
Merge pull request #43414 from azat/func/sumMap-decimal-Nullable-fix
Fixes https://github.com/ClickHouse/ClickHouse/issues/43395
2022-11-24 11:58:02 +01:00
Han Fei
4ce3cafe61
Merge pull request #43599 from bit-ranger/master
Update sparse-primary-indexes.md to correct typo
2022-11-24 11:08:10 +01:00
bit-ranger
1a82e76c88
Merge branch 'master' into master 2022-11-24 16:58:54 +08:00
bit-ranger
6606bc7ede
Update sparse-primary-indexes.md to correct typo 2022-11-24 17:56:59 +09:00
Salvatore Mesoraca
0488132133 Do not assume that the original query was valid when transforming JOINs
Before this change, during the JOIN transformation, the query
was rewritten in such a way that some references to non-existing
columns were replaced with references to columns with the same
name in other tables.

We now check that the original query was correct before making
changes that may fix it accidentally.
2022-11-24 09:48:51 +01:00
Maksim Kita
9b935694ca
Merge pull request #43572 from kitaisreal/analyzer-table-functions-untuple-fix
Analyzer table functions untuple fix
2022-11-24 11:28:56 +03:00
zzsmdfj
9de4167d9c to MaterializeMySQL_support_drop_mulit_table-change ParserIdentifier 2022-11-24 12:19:22 +08:00
zzsmdfj
11b9cd761f to MaterializeMySQL_support_drop_mulit_table-clean up unnecessary code 2022-11-24 12:08:40 +08:00
Azat Khuzhin
eea32a3beb
Make insertRangeFrom() more exception safe (#43338)
* Make ColumnArray::insertRangeFrom() more safe

This should avoid possible out of sync and LOGICAL_ERROR exception
'offsets_column has data inconsistent with nested_column.'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Make ColumnString::insertRangeFrom() more exception safe

Otherwise it is possible for offsets and chars go out of sync and
eventually you will get LOGICAL_ERROR exception
'String offsets has data inconsistent with chars array'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-23 23:41:14 +01:00
Alexander Tokmakov
f0fc71f09f
Merge pull request #43489 from azat/drop-fix
Avoid possible DROP hung due to attached web disk
2022-11-23 23:54:55 +03:00
Dan Roscigno
b2b4e1017f
Merge pull request #43363 from CamiloSierraH/patch-6
ATTACH query ignores the SELECT query on MV
2022-11-23 11:35:15 -05:00
Dan Roscigno
31f346e2e5
Merge pull request #43330 from CamiloSierraH/patch-5
adding one link and note about disk usage for projections
2022-11-23 11:32:56 -05:00
Camilo Sierra
ca3f819401
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-11-23 16:53:21 +01:00
Dan Roscigno
0e0fef4f51
Merge branch 'master' into patch-6 2022-11-23 10:41:39 -05:00
Dan Roscigno
02a0d4f2e5
Update docs/en/sql-reference/statements/alter/projection.md 2022-11-23 10:39:10 -05:00
Sema Checherinda
9f2c00d434 add tags to tests, fix error message 2022-11-23 15:16:10 +00:00
Sema Checherinda
7d748602c0 always write creation_csn 2022-11-23 15:16:10 +00:00
Sema Checherinda
e29d7c2e00 fix typos 2022-11-23 15:16:10 +00:00
Sema Checherinda
b4a21cab68 removal_csn can be PrehistoricCSN iff removal_tid is also PrehistoricCSN when cl removind an old part 2022-11-23 15:16:10 +00:00
Sema Checherinda
eccb62e4c3 work with the latest remarks 2022-11-23 15:16:09 +00:00