Maksim Kita
a7d5a5d280
Merge pull request #45059 from kitaisreal/analyzer-array-join-crash-fix
...
Analyzer ARRAY JOIN crash fix
2023-01-10 15:14:24 +03:00
Nikolai Kochetov
11418963c0
Merge pull request #44653 from ClickHouse/custom-reading-for-mutation
...
Custom reading for mutation
2023-01-10 12:16:24 +01:00
alesapin
616e37ba43
Merge pull request #44847 from ClickHouse/fix_rare_race
...
Fix rare race which can lead to queue hang
2023-01-10 12:09:10 +01:00
Maksim Kita
c95925a5ab
Fixed tests
2023-01-10 11:16:29 +01:00
kssenii
613ff3387d
Better
2023-01-10 11:16:20 +01:00
Anton Popov
79e89cf69c
Merge pull request #44939 from ClickHouse/revert-44493-s3_optimize
...
Revert "If user only need virtual columns, we don't need to initialize ReadBufferFromS3"
2023-01-10 10:42:18 +01:00
Antonio Andelic
30510c5eb6
Merge pull request #44937 from ClickHouse/fix-changelog-deadlock
...
Fix deadlock in Keeper's changelog
2023-01-10 08:59:51 +01:00
taiyang-li
09c1cecb01
fix build error
2023-01-10 10:56:13 +08:00
Alexey Milovidov
df4e60b47e
Merge pull request #45053 from ClickHouse/client-fix-data-race
...
Fix (benign) data race in clickhouse-client
2023-01-10 05:18:41 +03:00
Alexey Milovidov
3b086d1990
Merge pull request #45039 from ClickHouse/fix-coordination-unit-tests
...
Small fixes for Coordination unit tests
2023-01-10 05:12:37 +03:00
Alexey Milovidov
dcae391210
Merge pull request #45061 from kitaisreal/range-hashed-dictionary-update-field-primary-key-fix
...
RangeHashedDictionary update field primary key fix
2023-01-10 05:11:12 +03:00
Alexey Milovidov
db5aa58370
Merge pull request #45064 from kitaisreal/analyzer-function-in-crash-fix
...
Analyzer function IN crash fix
2023-01-10 05:10:20 +03:00
Alexey Milovidov
3963eeae16
Merge pull request #45058 from nickitat/fix_grouping_sets_with_memory_efficient_aggr
...
Disable memory efficient merging for distributed aggregation when grouping sets are present
2023-01-10 05:08:55 +03:00
Alexey Milovidov
1229a20fb3
Merge pull request #45047 from ClickHouse/fix-buffer-overflow
...
Fix buffer overflow in parser
2023-01-10 05:06:03 +03:00
Yakov Olkhovskiy
2559c49810
make only IPv4 as numeric, fix hash functions for IPv6, add more hash functions to test
2023-01-10 02:03:06 +00:00
Alexey Milovidov
d6748f9fae
Merge pull request #45065 from ClickHouse/fix-low-cardinality-in-nested-lambda-capture
...
Fix Cannot capture column for nested lambda with LowCardinality
2023-01-10 04:50:46 +03:00
Alexey Milovidov
c1ae35958d
Merge pull request #45067 from kitaisreal/jit-compilation-float-to-bool-conversion-fix
...
JIT compilation float to bool conversion fix
2023-01-10 04:45:00 +03:00
serxa
6f31c5094d
Merge branch 'cancellable-mutex' of github.com:ClickHouse/ClickHouse into cancellable-mutex
2023-01-10 01:27:11 +00:00
serxa
0f80ad6e06
make style-check happy
2023-01-10 01:26:59 +00:00
Sergei Trifonov
b4961a6253
Merge branch 'master' into cancellable-mutex
2023-01-10 02:20:42 +01:00
Alexander Gololobov
4a6ceb8a66
Merge pull request #44959 from liangliangpan/liangliangpan-patch-fix-alter-ttl-error
...
fix alter table ttl error when wide part has light weight delete mask
2023-01-10 01:17:08 +01:00
Yakov Olkhovskiy
4f32f3b8cb
Merge pull request #44484 from bigo-sg/arrow_struct_field
...
Optimization for reading struct fields in parquet/orc files
2023-01-09 15:36:26 -05:00
Nikolai Kochetov
3e430b1b6e
Add comments. Remove unused flag from Context.
2023-01-09 19:52:11 +00:00
serxa
ae56ac1b56
add TSA support
2023-01-09 16:46:07 +00:00
Maksim Kita
4236bc32ee
Analyzer duplicate alias crash fix
2023-01-09 16:38:18 +01:00
Maksim Kita
0ba597240e
JIT compilation float to bool conversion fix
2023-01-09 16:35:06 +01:00
serxa
534db794c1
more review fixes
2023-01-09 15:05:41 +00:00
serxa
88c3c2946b
review fixes + split into files
2023-01-09 14:58:44 +00:00
Alexander Gololobov
742887ce53
Merge pull request #44718 from ClickHouse/lwd_mutation_always_sync
...
Make lightweight deletes always synchronous
2023-01-09 15:58:02 +01:00
Nikolai Kochetov
86324e231c
Fix Cannot capture column for nested lambda with LowCardinality
2023-01-09 14:57:09 +00:00
Maksim Kita
f96cdc7e47
Analyzer function IN crash fix
2023-01-09 15:35:14 +01:00
Alexander Gololobov
321c987a51
Merge branch 'master' into liangliangpan-patch-fix-alter-ttl-error
2023-01-09 15:17:12 +01:00
Antonio Andelic
22679ddf11
Add comment
2023-01-09 14:26:20 +01:00
Maksim Kita
83a8d3ed25
RangeHashedDictionary update field primary key fix
2023-01-09 13:52:15 +01:00
taiyang-li
a8da7b4c20
change as request
2023-01-09 20:39:46 +08:00
taiyang-li
4bc2c61406
change as request
2023-01-09 20:37:16 +08:00
Antonio Andelic
a39f437306
Typo fix
2023-01-09 13:34:48 +01:00
Kseniia Sumarokova
b22b51213f
Merge pull request #44868 from kssenii/improve-async-buffer-from-remote
...
Small perf improvement for async buffer from remote
2023-01-09 13:31:15 +01:00
Nikita Taranov
006fdd32d4
Apply preallocation optimisation more carefully ( #44455 )
...
* impl
* add perf test
* fix
* review fixes
2023-01-09 13:30:48 +01:00
Nikita Mikhaylov
857799fbca
Parallel distributed insert select with s3Cluster [3] ( #44955 )
...
* Revert "Revert "Resurrect parallel distributed insert select with s3Cluster (#41535 )""
This reverts commit b8d9066004
.
* Fix build
* Better
* Fix test
* Automatic style fix
Co-authored-by: robot-clickhouse <robot-clickhouse@users.noreply.github.com>
2023-01-09 13:30:32 +01:00
Kseniia Sumarokova
9ae5ad202a
Merge pull request #44707 from xiedeyantu/s3-add-config
...
S3 support upload object using storage class INTELLIGENT_TIERING
2023-01-09 13:28:53 +01:00
Maksim Kita
5809c6a325
Analyzer ARRAY JOIN crash fix
2023-01-09 13:16:10 +01:00
Nikita Taranov
82963e4227
impl
2023-01-09 12:12:55 +00:00
Antonio Andelic
27b2bae640
make it better
2023-01-09 12:01:22 +00:00
Antonio Andelic
a4f35d5da9
Merge branch 'master' into fix-coordination-unit-tests
2023-01-09 12:00:55 +00:00
Kseniia Sumarokova
119501f1d9
Merge pull request #44698 from Avogar/parquet-bool
...
Support Bool type in Arrow/Parquet/ORC
2023-01-09 12:56:28 +01:00
kssenii
7764fd9ac9
Fix possible cannot-read-all-data
2023-01-09 12:47:55 +01:00
taiyang-li
64bbdee824
fix stule
2023-01-09 19:36:51 +08:00
Alexander Gololobov
ebb17c6a76
More generic fix
2023-01-09 12:06:58 +01:00
Vladimir C
75e9a45341
Merge pull request #44716 from ClickHouse/vdimir/merge_engine_nullable
2023-01-09 11:38:04 +01:00
taiyang-li
20c7c0b1ef
change as request
2023-01-09 18:21:31 +08:00
lgbo-ustc
b639bcabc0
some fixes
2023-01-09 18:13:00 +08:00
lgbo-ustc
f127b3a60a
update ArrowFieldIndexUtil
2023-01-09 18:13:00 +08:00
lgbo-ustc
a3bdfddc9d
support nested table
2023-01-09 18:13:00 +08:00
lgbo-ustc
4f3f781b85
fixed test case
2023-01-09 18:13:00 +08:00
lgbo-ustc
755f03db4e
fixed
2023-01-09 18:13:00 +08:00
lgbo-ustc
f6850d96cb
fixed missing columns
2023-01-09 18:13:00 +08:00
lgbo-ustc
4cf6beee27
fixed
2023-01-09 18:13:00 +08:00
lgbo-ustc
81e2832133
fixed
2023-01-09 18:13:00 +08:00
lgbo-ustc
77cea49cec
fixed including header failure
2023-01-09 18:13:00 +08:00
lgbo-ustc
8f8f6f966b
Optimization for reading struct fields in parquet/orc files
2023-01-09 18:13:00 +08:00
Roman Vasin
2995c6d866
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-634
2023-01-09 08:26:45 +00:00
Sergei Trifonov
a4470dd1b2
Update src/Common/Threading.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-01-09 09:01:44 +01:00
Alexey Milovidov
1f45845e70
Fix (benign) data race in clickhouse-client
2023-01-09 08:49:21 +01:00
Yakov Olkhovskiy
45780644bc
fix convert field for IPv4 and IPv6 - as represented by number
2023-01-09 07:27:17 +00:00
Alexey Milovidov
eea5a2c521
Merge branch 'master' into fix-buffer-overflow
2023-01-09 09:15:29 +03:00
Alexey Milovidov
0d39d26a34
Don't fix parallel formatting
2023-01-09 06:15:20 +01:00
Alexey Milovidov
61ff2417e9
Remove some headers
2023-01-09 04:23:10 +01:00
Alexey Milovidov
673472cbdc
Fix error
2023-01-09 04:22:13 +01:00
Alexey Milovidov
d331f0ce82
Fix buffer overflow in parser
2023-01-09 03:31:12 +01:00
Alexey Milovidov
0d8d6eca67
Non significant changes
2023-01-09 01:51:05 +01:00
Alexey Milovidov
797dfdd42e
Non significant changes
2023-01-09 01:50:19 +01:00
Alexey Milovidov
3430df2f8c
Non significant changes
2023-01-09 01:48:57 +01:00
Yakov Olkhovskiy
6ec1592a9f
fix hash functions for IPv4
2023-01-08 20:58:09 +00:00
Antonio Andelic
4fcbe14435
Small fixes for Coordination unit tests
2023-01-08 13:44:32 +00:00
Alexey Milovidov
13a045dce4
Fix bad code: postfix increment, multiple effects in one statement
2023-01-08 02:55:02 +01:00
Alexey Milovidov
56d8c4730e
Fix function range
2023-01-08 02:50:28 +01:00
Yakov Olkhovskiy
d77178194f
fix cutIPv6 function and IPv4 hashing
2023-01-07 21:48:02 +00:00
Sergei Trifonov
a3b81778cd
Merge branch 'master' into cancellable-mutex
2023-01-07 19:34:19 +01:00
Anton Popov
1f32ffedf8
Merge pull request #43221 from ClickHouse/refactoring-ip-types
...
Replace domain IP types (IPv4, IPv6) with native
2023-01-07 12:01:21 +01:00
Alexey Milovidov
9fcd111724
Merge pull request #45003 from amosbird/issue_44979
...
Fix minmax_count_projection with _partition_value
2023-01-07 03:36:56 +03:00
serxa
705c8f01af
fix tests
2023-01-07 00:31:53 +00:00
Sergei Trifonov
c65573dd7e
Merge branch 'master' into cancellable-mutex
2023-01-06 23:52:35 +01:00
serxa
00b2c96ce8
fix special builds
2023-01-06 22:48:19 +00:00
Amos Bird
200d40c53d
Fix minmax_count_projection with _partition_value
...
Check if virtual column `_partition_value` can be used when building
minmax_count_projection block.
2023-01-07 05:38:28 +08:00
Nikolai Kochetov
9c5a8a598a
Merge pull request #44983 from ClickHouse/check-what-if-disable-some-check-in-storage-merge
...
Check what if disable some checks in storage Merge.
2023-01-06 19:45:46 +01:00
kssenii
81070907a2
Better time watch
2023-01-06 18:44:48 +01:00
Dmitry Novik
9d44c7a737
Merge pull request #44541 from ClickHouse/cleanup-resolved-function
...
Followup #43761
2023-01-06 18:09:32 +01:00
Nikolai Kochetov
cadaf35db6
Merge pull request #44987 from ClickHouse/better-check-for-not-existing-input-in-actions-dag
...
Fix check for not existing input in ActionsDAG
2023-01-06 18:02:38 +01:00
Nikolai Kochetov
398ae6a216
Fix style.
2023-01-06 15:33:19 +00:00
Nikolai Kochetov
58c7547f51
Removed check and added a test.
2023-01-06 15:04:00 +00:00
Nikolai Kochetov
72eb74dd67
Fix check for not existing input in ActionsDAG
2023-01-06 14:50:28 +00:00
alesapin
da83e97b4c
Fix startup issue
2023-01-06 15:36:53 +01:00
Anton Popov
b25f875674
Merge pull request #44875 from ClickHouse/fix-another-one-cannot-read-all-data-for-lc-dict-error
...
Fix right offset for reading LowCardinality dictionary from remote fs
2023-01-06 15:24:36 +01:00
Ilya Yatsishin
4bedd2ca59
fix style
2023-01-06 15:16:44 +01:00
Han Fei
a4427a05c2
fix build
2023-01-06 14:30:00 +01:00
Nikolai Kochetov
a0dad93a38
Check whatt if disable some checks in storage Merge.
2023-01-06 13:26:15 +00:00
alesapin
b20f07b2cc
Merge branch 'master' into fix_rare_race
2023-01-06 14:20:08 +01:00
Kseniia Sumarokova
573d3283b0
Merge pull request #44327 from kssenii/use-new-named-collections-code-2
...
Replace old named collections code with new (from #43147 ) part 2
2023-01-06 13:06:26 +01:00
Nikolai Kochetov
bb74db22b3
Merge pull request #44920 from ClickHouse/select-respect-required-columns-order
...
Respect requested columns order for select.
2023-01-06 12:54:18 +01:00
Han Fei
cac7f65b40
fix build
2023-01-06 11:49:34 +01:00
Alexey Milovidov
b88be9df8c
Merge pull request #44956 from ClickHouse/fix_read_result_consistency_check_on_exception
...
Do not check read result consistency when unwinding
2023-01-06 06:22:42 +03:00
Mingliang Pan
c98e52e9ee
fix alter table ttl error when this table has light weight delete mask file (_row_exists.bin)
...
After applying light weight delete to MergeTree table, a delete mask file (_row_exists.bin) will appears in the wide part directory. Then we execute "ALTER TABLE xxxxxx MODIFY TTL xxxx" to this table, clickhouse will report error in log message: "NOT_FOUND_COLUMN_IN_BLOCK, Not found column _row_exists in block".
The root cause of this bug is that: in MutationsInterpreter::prepare(), when constructing the select columns, it does not include the system columns, but only physic columns (not include _row_exists.bin). however the output block of the execute pipeline contains _row_exists column, then error occurs.
this bug is severe, because mutate TTL will continuously to execute, never end. the only workaround is to truncate the whole table.
the fix is to return all columns including row_exists when executing alter table TTL query
2023-01-06 10:58:34 +08:00
Alexey Milovidov
1b1a13a9ee
Merge pull request #44957 from vitlibar/increase-log-level-of-tables-dependency-graph
...
Up the log level of tables dependencies graphs
2023-01-06 05:46:39 +03:00
Alexey Milovidov
c1f6555b32
Merge pull request #44755 from ClickHouse/44736_Fix_logical_error_for_qualified_asterisk
...
Fix for qualified asterisks with alias table name and column transformer
2023-01-06 03:28:22 +03:00
Alexey Milovidov
663cc5fcc1
Merge pull request #44886 from eherrerosj/patch-1
...
fix-typo
2023-01-06 03:23:42 +03:00
Alexey Milovidov
a205b41c56
Merge pull request #44947 from Algunenano/background_pool_size_logical
...
Change error code on invalid background_pool_size config
2023-01-06 03:19:40 +03:00
Vitaly Baranov
8a5a2f5b3d
Up the log level of tables dependencies graphs.
2023-01-06 00:46:49 +01:00
Alexander Gololobov
1b31b8bb91
Do not check read result consistency when unwinding
2023-01-06 00:26:08 +01:00
Igor Nikonov
a67afdff6a
Fix: insert delay calculation
2023-01-05 22:43:41 +00:00
Robert Schulze
9f8b0bf149
Merge pull request #44948 from ClickHouse/fix-TraceCollector-fix
...
Fix exception fix in TraceCollector dtor
2023-01-05 23:16:40 +01:00
Han Fei
744084375c
fix build
2023-01-05 22:27:45 +01:00
serxa
d217136ede
review fixes
2023-01-05 20:41:36 +00:00
Kseniia Sumarokova
a2a9c7dec5
Update TableFunctionURL.cpp
2023-01-05 21:35:52 +01:00
Alexander Gololobov
102dd8bd45
Merge branch 'master' into lwd_mutation_always_sync
2023-01-05 21:20:14 +01:00
Yakov Olkhovskiy
1be48f706b
Merge pull request #43706 from ClibMouse/s390x_crc32
...
s390x weakhash32 support
2023-01-05 14:45:20 -05:00
Dmitry Novik
ebead611b6
Merge branch 'master' into cleanup-resolved-function
2023-01-05 19:27:08 +01:00
Robert Schulze
9ef7dac0b5
Fix exception fix in TraceCollector dtor
...
Cf. #44758
Function try blocks in ctors/dtors implicitly rethrow, making them
more or less useless.
https://www.onlinegdb.com/pCKQA0wTIN (click RUN)
https://stackoverflow.com/questions/5612486/when-is-a-function-try-block-useful/5612508#5612508
Fortunately, this seems the only place like that in the codebase.
2023-01-05 18:27:07 +00:00
Raúl Marín
b0715ec5eb
Change error code on invalid background_pool_size config
2023-01-05 18:47:02 +01:00
Nikolai Kochetov
078f4d947a
Merge pull request #44916 from ClickHouse/fast-fix-incorrect-insert-delay
...
Fast fix: force upper bound for time to delay INSERT
2023-01-05 18:05:03 +01:00
Nikolai Kochetov
f629425f96
Merge pull request #44447 from ClickHouse/42637_Disallow_arrayJoin_in_mutations
...
Disallow arrayjoin in mutations
2023-01-05 18:00:16 +01:00
Han Fei
ae5ee8194b
fix check style
2023-01-05 17:52:05 +01:00
Han Fei
f2a9eea995
write docs and optimize regex compile
2023-01-05 17:38:01 +01:00
Nikolai Kochetov
1bbf8c84a4
Update InterpreterSelectWithUnionQuery.cpp
2023-01-05 17:29:16 +01:00
Anton Popov
4447afb14d
Revert "If user only need virtual columns, we don't need to initialize ReadBufferFromS3"
2023-01-05 16:38:20 +01:00
Antonio Andelic
9b3314a931
Fix deadlock in Changelog flush
2023-01-05 14:51:05 +00:00
Sergei Trifonov
3f87e6cd77
Update src/Common/Threading.h
...
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-01-05 15:27:51 +01:00
Sergei Trifonov
985dff1dbf
Update src/Common/tests/gtest_threading.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-01-05 15:27:32 +01:00
Sergei Trifonov
c507d7ecef
Update src/Common/tests/gtest_threading.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-01-05 15:27:21 +01:00
Nikolai Kochetov
9fd56e100a
Add a comment.
2023-01-05 13:20:47 +00:00
Igor Nikonov
2a105d1862
Fix stupid mistake - max() -> min()
2023-01-05 12:38:27 +00:00
Igor Nikonov
db46267a95
Fast fix: force upper bound for time to delay INSERT
2023-01-05 12:38:27 +00:00
Ilya Yatsishin
0a60fe6e60
Merge pull request #44895 from Algunenano/ignore_label_issues_on_hwmon
...
Ignore hwmon sensors on label read issues
2023-01-05 12:43:37 +01:00
Robert Schulze
1974e1bf8c
Merge pull request #44479 from ClickHouse/more-robust-astselectquery-formatimpl
...
More robust ASTSelectQuery::formatImpl()
2023-01-05 12:27:40 +01:00
kssenii
fcb042d80c
Fix cland tidy
2023-01-05 12:04:07 +01:00
Ilya Yatsishin
e4d4a2d8ab
Merge pull request #44897 from kssenii/rabbitmq-leak
...
Try fix rabbitmq potential leak
2023-01-05 10:56:56 +01:00
Antonio Andelic
136436958b
Merge pull request #44908 from ClickHouse/fix-keeper-snapshot-on-exit
...
Avoid Keeper crash on shutdown (fix `test_keeper_snapshot_on_exit`)
2023-01-05 08:59:58 +01:00
serxa
abf63d0c33
cleanup
2023-01-05 00:26:28 +00:00
serxa
c4e896f73a
cleanup
2023-01-05 00:23:10 +00:00
Sergei Trifonov
5d5cf7d5b0
Merge branch 'master' into cancellable-mutex
2023-01-05 00:50:38 +01:00
serxa
f706cf8903
fix style
2023-01-04 23:49:29 +00:00
serxa
e9e3414ae1
remove debug print
2023-01-04 23:04:04 +00:00
serxa
3ea04f0429
fix typos
2023-01-04 22:59:29 +00:00
serxa
baf6297f1d
add fast and cancellable shared_mutex alternatives
2023-01-04 21:50:57 +00:00
Robert Schulze
a4322b3057
Merge pull request #44894 from ClickHouse/upgrade-googletest
...
Upgrade googletest to latest HEAD
2023-01-04 21:49:56 +01:00
Nikolai Kochetov
533911b28b
Respect requested columns order for select.
2023-01-04 19:59:15 +00:00
Yakov Olkhovskiy
dadd96ba6f
Merge pull request #44135 from ClickHouse/feature-protocol-proxy
...
Improve support for PROXYv1 protocol.
2023-01-04 14:06:17 -05:00
Azat Khuzhin
d06ac2d468
Fix logging message in MergeTreeDataMergerMutator (about merged parts)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-04 19:07:01 +01:00
kssenii
2e758f983f
Add logging, remove closing connection in destructor
2023-01-04 18:08:55 +01:00
chen
741dbb5a75
Update StorageS3Settings.h
2023-01-05 00:41:58 +08:00