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
Han Fei
28564df6f1
Merge branch 'master' into hanfei/aysnc-insert
2022-11-24 09:12:43 +01: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
Han Fei
d0f5fcdf09
update ut and refine logs
2022-11-23 21:07:59 +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
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
Sema Checherinda
f0294cd6ed
fix test_merge_tree_s3_restore
2022-11-23 15:16:09 +00:00
Sema Checherinda
6b4cb25e25
fixed 01130_in_memory_parts_partitons, remove flushed tmp part from in memory part
2022-11-23 15:16:09 +00:00
Sema Checherinda
cf90692fb8
add more log for NamedSessionsStorage
2022-11-23 15:16:09 +00:00
Sema Checherinda
c976b28104
less pedantic checks in operations, rely on existed tx functionality
2022-11-23 15:16:09 +00:00
Sema Checherinda
a4d1adf945
in order to restore partition do not write empty inmemory part
2022-11-23 15:16:09 +00:00
Sema Checherinda
00e7b4e195
fix race on remove, add creation csn for removed parts
2022-11-23 15:16:09 +00:00
Sema Checherinda
33306359b2
stabilization 01167_isolation_hermitage
2022-11-23 15:16:09 +00:00
Sema Checherinda
9335fa68c9
stabilization 01168_mutations_isolation
2022-11-23 15:16:09 +00:00
Sema Checherinda
29bfe6b78e
fix and stable some tests
2022-11-23 15:16:09 +00:00
Sema Checherinda
c1e6b560f0
no groupping parts for cover with empty
2022-11-23 15:16:08 +00:00
Sema Checherinda
597421014e
fix style check
2022-11-23 15:16:08 +00:00
Sema Checherinda
db86cd0f0a
fix several critical races, fix tests
2022-11-23 15:16:08 +00:00
Sema Checherinda
49539e6862
fix test_partition
2022-11-23 15:16:08 +00:00