taiyang-li
14dd696e95
fix build error
2023-02-09 21:47:05 +08:00
taiyang-li
e1fed0352e
remove useless code
2023-02-09 16:32:11 +08:00
taiyang-li
19ca0ec4af
add passes for rewriting arrayexists
2023-02-09 16:30:53 +08:00
taiyang-li
af7a6abf80
fix bugs
2023-02-09 15:15:08 +08:00
taiyang-li
b83ad6bb81
add perf test
2023-02-09 12:30:50 +08:00
taiyang-li
1ce12c8ab5
add visitor files
2023-02-09 12:26:32 +08:00
taiyang-li
48f0fb0d52
rewrite array exists to has
2023-02-09 12:06:42 +08:00
Alexander Tokmakov
4fd4058259
Merge pull request #45629 from arthurpassos/fix_cares_crash
...
Cancel c-ares failed requests and retry on system interrupts to prevent callbacks with dangling references and premature resolution failures
2023-02-09 02:29:29 +03:00
Ilya Yatsishin
9f480b8fa2
Merge pull request #46132 from azat/file-fd-schema-inference
2023-02-08 23:23:32 +01:00
Alexander Tokmakov
348225b4b9
Merge pull request #46020 from ClickHouse/debug_hung_check
...
Fix disabled by mistake hung check
2023-02-09 01:16:04 +03:00
Alexander Tokmakov
648812b652
Merge pull request #46003 from azat/client-settings-fix
...
Fix applying settings for FORMAT on the client
2023-02-09 01:06:35 +03:00
Alexander Tokmakov
8101b044fa
Merge pull request #46091 from azat/sanity-assertions
...
Sanity assertions for closing file descriptors
2023-02-09 01:02:03 +03:00
Alexander Tokmakov
65cbb0fcfc
Merge pull request #46138 from vitlibar/fix-dependency-checks
...
Fix dependency checks
2023-02-09 00:54:40 +03:00
Anton Popov
31adebdca8
Merge pull request #46045 from azat/compact-nested-fix
...
Fix reading of non existing nested columns with multiple level in compact parts
2023-02-08 22:54:11 +01:00
Kruglov Pavel
979ccda629
Merge pull request #46139 from ClibMouse/capnproto_update_2065
...
update CapnProto to v0.10.3 to avoid CVE-2022-46149
2023-02-08 22:43:24 +01:00
Alexander Tokmakov
de1c4f5764
fix disabled by mistake hung check
2023-02-08 22:37:22 +01:00
Alexander Tokmakov
abeacf3fe1
Merge pull request #46180 from ClickHouse/tavplubix-patch-3-1
...
Update 01513_optimize_aggregation_in_order_memory_long.sql
2023-02-08 23:29:06 +03:00
Sergei Trifonov
6c7f300ba2
Merge pull request #46179 from ClickHouse/cleanup-disk-test
...
Cleanup disk unittest
2023-02-08 20:44:47 +01:00
Sergei Trifonov
9493d1b4a2
Merge pull request #46177 from ClickHouse/serxa-patch-3
...
Fix build dependencies page in docs
2023-02-08 20:43:19 +01:00
Alexander Tokmakov
3dbd0833fd
Update 01513_optimize_aggregation_in_order_memory_long.sql
2023-02-08 21:36:10 +03:00
serxa
8f87dd9957
add Yasm exception for spell checker
2023-02-08 18:23:15 +00:00
serxa
cfb8291029
Cleanup disk unittest
2023-02-08 18:14:05 +00:00
Sergei Trifonov
678e9fd0ac
Fix build dependencies page in docs
2023-02-08 18:59:44 +01:00
Robert Schulze
d6b465ab9d
Merge pull request #46162 from ClickHouse/rs/check-yasm
...
Complain about missing Yasm at configure time at of build time
2023-02-08 17:27:29 +01:00
Alexander Tokmakov
7e4789b1a7
Merge pull request #46110 from ClickHouse/CheSema-patch-1
...
allow_drop_detached requires an argument
2023-02-08 18:55:59 +03:00
Alexander Tokmakov
aeb3586eaa
Merge branch 'master' into CheSema-patch-1
2023-02-08 18:52:57 +03:00
Antonio Andelic
45d4ba59dc
Merge pull request #46068 from bigo-sg/alloc_map_metrics
...
Add new metric to record allocations times and bytes using mmap
2023-02-08 15:49:20 +01:00
Vladimir C
247d6c1edd
Merge pull request #44730 from bigo-sg/optimize_aggregate_function_withif
2023-02-08 15:26:47 +01:00
Maksim Kita
77ec255d7c
Merge pull request #45396 from kitaisreal/hashed-dictionary-sharded-nullable-fix
...
HashedDictionary sharded fix nullable values
2023-02-08 17:15:10 +03:00
Anton Popov
f0b0eacbad
Merge pull request #45992 from CurtizJ/fix-type-object-analyzer
...
Fix basic functionality with type `Object` and new analyzer
2023-02-08 14:25:17 +01:00
Anton Popov
62dfac1425
Merge pull request #46103 from bigo-sg/improve_pad_string
...
Fix doc and enable int types for pad
2023-02-08 14:24:04 +01:00
Robert Schulze
f97880840a
Complain about missing Yasm at configure time at of build time
2023-02-08 13:17:42 +00:00
robot-clickhouse-ci-1
99274f1db1
Merge pull request #46143 from ClickHouse/evillique-patch-2
...
Interpret `cluster_name` identifier in `s3Cluster` function as literal
2023-02-08 14:06:16 +01:00
Alexander Gololobov
a7c30eecf4
Merge pull request #46141 from ClickHouse/fix-assertion-in-statistics
...
Fix assertion in statistical functions
2023-02-08 13:42:02 +01:00
Kruglov Pavel
8bdb1c3453
Merge pull request #44728 from bigo-sg/improve_count_if
...
Improve count if rewrite
2023-02-08 12:21:29 +01:00
Kseniia Sumarokova
6160db6569
Merge pull request #44949 from ClibMouse/HDFS_PowerPC
...
Changes to support the HDFS in Power PC.
2023-02-08 12:17:15 +01:00
Kseniia Sumarokova
f6ebe11350
Merge pull request #46108 from azat/azure-fix
...
Fix test_merge_tree_azure_blob_storage::test_zero_copy_replication test
2023-02-08 12:04:46 +01:00
Robert Schulze
b79ead9c84
Move poco to base/poco/ ( #46075 )
...
* Replicate poco into base/poco/
* De-register poco submodule
* Build poco from ClickHouse
* Exclude poco from stylecheck
* Exclude poco from whitespace check
* Exclude poco from typo check
* Remove x bit from sources/headers (the style check complained)
* Exclude poco from duplicate include check
* Fix fasttest
* Remove contrib/poco-cmake/*
* Simplify poco build descriptions
* Remove poco stuff not used by ClickHouse
* Glob poco sources
* Exclude poco from clang-tidy
2023-02-08 12:04:11 +01:00
Kseniia Sumarokova
693006ba42
Merge pull request #46083 from kssenii/simplify-storage-s3-configuration
...
Simplify code around storages s3/hudi/delta-lake
2023-02-08 12:02:38 +01:00
Kruglov Pavel
0e5ceae896
Merge pull request #45296 from bigo-sg/improve_multi_if
...
Improve performance of function multiIf by columnar executing
2023-02-08 11:33:12 +01:00
Azat Khuzhin
151ba92a2e
Fix reading of non existing nested columns with multiple level in compact parts
...
Consider the following example:
CREATE TABLE data (root.array_str Array(UInt8)) ENGINE = MergeTree() ORDER BY tuple();
INSERT INTO data VALUES ([]);
ALTER TABLE data ADD COLUMN root.nested_array Array(Array(UInt8));
In this case the first part will not have data for root.nested_array,
and thanks to #37152 it will simply read offsets column from
root.array_str, however since root.nested_array is a nested array, it
will try to read elements from the same offsets stream and if you are
lucky enough you will get one of the following errors:
- Cannot read all data. Bytes read: 1. Bytes expected: 8.: (while reading column root.nested_array): While executing MergeTreeInOrder. (CANNOT_READ_ALL_DATA)
- DB::Exception: Array size is too large: 8233460228287709730: (while reading column serp.serp_features): While executing MergeTreeInOrder.
So to address this, findColumnForOffsets() had been changed to return
the level of the column too, to allow to read only up to this level.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-08 10:21:40 +01:00
Igor Nikonov
72c393e7c4
Merge pull request #46014 from ClickHouse/inorder-optimization-update-sorting-properties
...
Update sorting properties after reading in order applied
2023-02-08 10:19:47 +01:00
robot-ch-test-poll
3de699d335
Merge pull request #46127 from ClickHouse/evillique-patch-1
...
Update liburing CMakeLists.txt
2023-02-08 09:50:07 +01:00
Alexey Milovidov
6f119090d8
Merge branch 'master' into file-fd-schema-inference
2023-02-08 10:01:04 +03:00
Alexey Milovidov
8e407899ef
Merge pull request #46149 from ClickHouse/fix-flaky-test-11
...
Remove flaky test
2023-02-08 09:30:43 +03:00
Alexey Milovidov
8d4a98113c
Merge pull request #46120 from azat/copier-fixes
...
Fix fault injection in copier and test_cluster_copier flakiness
2023-02-08 08:59:17 +03:00
Azat Khuzhin
758deac715
Do not check close() return value in BaseDaemon::closeFDs()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-08 05:52:35 +01:00
Azat Khuzhin
0b37344b26
Use BAD_ARGUMENTS over LOGICAL_ERROR for schema inference error file() over fd
...
Otherwise the following leads to SIGSEGV in debug/sanitizers builds:
echo '0000000000Custom NULL representation0000000000' | clickhouse-local -q "desc file('-', 'TSV')"
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-08 05:36:49 +01:00
Alexey Milovidov
a69f9c05a9
Remove flaky test
2023-02-08 05:35:19 +01:00
Alexey Milovidov
defe4896cc
Merge branch 'master' into fix-assertion-in-statistics
2023-02-08 07:34:01 +03:00