Commit Graph

102064 Commits

Author SHA1 Message Date
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
Alexander Tokmakov
ab786322c8 move perf tests for Aarch64 from PRs to master 2022-11-24 13:55:20 +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
Alexander Tokmakov
162c7db972
Update run-fuzzer.sh 2022-11-24 14:29:48 +03: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
Antonio Andelic
b065f9747d Fix test 2022-11-24 10:12:06 +00: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
Antonio Andelic
6e21e63871 Add test for storage args with UDFs 2022-11-24 09:35:17 +00: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
zvonand
e8d4176f5b fix ubsan(2) 2022-11-24 03:38:16 +03: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
zvonand
d42a29ac0f fix ubsan + expand docs 2022-11-24 01:23:59 +03:00
Nikita Taranov
dc9be92733 impl 2022-11-23 23:08: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
Alexander Tokmakov
f3b7193635 remove code that I do not understand 2022-11-23 21:49:44 +01: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
Antonio Andelic
c52ca6e10e Merge branch 'master' into substitute-udf-create 2022-11-23 16:08:37 +00:00
Antonio Andelic
71fb4dc889 Fix visitor 2022-11-23 16:07:25 +00: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
Sema Checherinda
a29437e179 delete verbose logging about cleaning old parts 2022-11-23 15:16:09 +00:00
Sema Checherinda
e54ca534b0 test 01167_isolation_hermitage uses fallback to recreate table 2022-11-23 15:16:09 +00:00
Sema Checherinda
06ac225425 canBeRemoved take into account creation_csn then no txn 2022-11-23 15:16:09 +00:00
Sema Checherinda
def63232d2 do not use bc 2022-11-23 15:16:09 +00:00
Sema Checherinda
f49936b9a0 remove tmp dir from inmemory part when freeze, more logs about old parts 2022-11-23 15:16:09 +00:00
Sema Checherinda
3a8024002d fix race in read full path from deleting part, add more logs in grabOldParts 2022-11-23 15:16:09 +00:00
Sema Checherinda
4f592bc208 fix isolation breach, droping outdated part should't be ignored 2022-11-23 15:16:09 +00:00