Ilya Yatsishin
dd0fc2435e
Merge remote-tracking branch 'origin/master' into hdfs-empty-url
2022-10-17 12:48:42 +02:00
Nikolai Kochetov
c9aa6a655c
Merge pull request #42319 from ClickHouse/fix-alter-update-wrong-type
...
Fix an invalid type of a column after attach and alter.
2022-10-17 12:44:16 +02:00
Duc Canh Le
d95fb5ffb3
Merge branch 'master' into ch_canh_fix_aggregator_lc
2022-10-17 18:29:41 +08:00
alesapin
051e3a0db5
Fix if
2022-10-17 12:27:05 +02:00
alesapin
cf6442fa65
Merge pull request #42222 from ClickHouse/disable_concurrent_parts_removal
...
Disable concurrent parts removal
2022-10-17 12:17:55 +02:00
Antonio Andelic
125501b36a
Merge branch 'master' into use-multiread-more
2022-10-17 07:32:30 +00:00
Antonio Andelic
f3c4d0eff2
Fix keeperMap test
2022-10-17 07:29:22 +00:00
Alexey Milovidov
d1f0c80ffe
Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
...
This reverts commit df934d8762
, reversing
changes made to d3a7945b1b
.
2022-10-17 04:57:15 +02:00
Alexey Milovidov
e93b8d1618
Fix trash
2022-10-17 04:44:58 +02:00
Alexey Milovidov
f88ed8195b
Fix trash
2022-10-17 04:21:08 +02:00
Duc Canh Le
40ca01d099
Merge branch 'master' into ch_canh_fix_aggregator_lc
2022-10-17 09:00:13 +08:00
Duc Canh Le
c05429574d
add exception
2022-10-17 08:59:39 +08:00
Alexey Milovidov
17d4862336
Fix data race in query finish/cancel
2022-10-17 02:29:54 +02:00
Alexey Milovidov
1113fe4a8d
Fix data race in query finish/cancel
2022-10-17 02:27:10 +02:00
Alexey Milovidov
c6b2ee47df
Fix data race in query finish/cancel
2022-10-17 02:10:36 +02:00
Alexey Milovidov
191158f93b
Merge pull request #42314 from HarryLeeIBM/hlee-s390x-t64-codec
...
Fix Codec T64 on s390x
2022-10-17 01:13:57 +02:00
Anton Popov
ec81d61f48
better logging for async insert
2022-10-16 12:45:02 +00:00
Kseniia Sumarokova
3338d76708
Merge pull request #42321 from ClickHouse/filimonov-request_timeout_ms
...
Increase request_timeout_ms for s3 disks.
2022-10-16 14:03:31 +02:00
Duc Canh Le
5526e05aac
remove junk log
2022-10-16 17:19:40 +08:00
Duc Canh Le
2b82205590
Merge branch 'master' into ch_canh_fix_aggregator_lc
2022-10-16 16:59:12 +08:00
Duc Canh Le
9e9e967f1f
choose correct aggregation method for lc128 and lc512
2022-10-16 16:57:15 +08:00
Ilya Yatsishin
165785f716
mErge remote-tracking branch 'origin/master' into hdfs-empty-url
2022-10-15 19:13:59 +02:00
Ilya Yatsishin
7fa7e1d822
Merge pull request #38519 from qoega/ast-fuzzer-where
2022-10-15 14:30:40 +02:00
Vitaly Baranov
91c438eebe
Merge pull request #42263 from vitlibar/refactor-udf
...
Refactor the implementation of user-defined functions
2022-10-15 12:33:10 +02:00
Alexey Milovidov
bfd8811a4d
Update CompressionCodecT64.cpp
2022-10-15 00:32:37 +03:00
Alexey Milovidov
4608b70dda
Update CompressionCodecT64.cpp
2022-10-15 00:31:33 +03:00
Kruglov Pavel
6fc12dd922
Merge pull request #41703 from Avogar/json-object-each-row
...
Add setting to obtain object name as column value in JSONObjectEachRow format
2022-10-14 20:11:04 +02:00
avogar
52427e6028
Remove code duplication
2022-10-14 18:07:02 +00:00
Kruglov Pavel
b4e327d9e0
Merge pull request #42313 from ClickHouse/Avogar-patch-2
...
Remove forgotten debug logging
2022-10-14 19:23:06 +02:00
nvartolomei
7d9f097d3b
Fix bad copy & paste when loading background_merges_mutations_concurrency_ratio setting ( #42315 )
2022-10-14 19:19:14 +02:00
Nikolai Kochetov
b98b1759c8
Fix additional_table_filters for Distributed.
2022-10-14 17:04:42 +00:00
Kruglov Pavel
ff11904850
Merge branch 'master' into improve-combinators
2022-10-14 17:19:31 +02:00
filimonov
cd9afdcb7c
Increase request_timeout_ms for s3 disks.
2022-10-14 17:19:14 +02:00
Nikolai Kochetov
b18c6fd8e6
Fix an invalid type of a column after attach and alter.
2022-10-14 14:52:26 +00:00
alesapin
e0c2518416
Fix another trash in zero-copy replication
2022-10-14 16:50:48 +02:00
HarryLeeIBM
6cdb7b5a94
Fix Codec T64 on s390x
2022-10-14 07:16:18 -07:00
Kruglov Pavel
d43b5bbcd0
Remove forgotten debug logging
2022-10-14 15:47:46 +02:00
Ilya Yatsishin
3361b27965
less
2022-10-14 14:27:52 +02:00
vdimir
ad255206f4
Exclude comments from style-check defined extern
2022-10-14 11:42:18 +00:00
alesapin
fd718c0d00
Merge branch 'master' into disable_concurrent_parts_removal
2022-10-14 13:32:11 +02:00
alesapin
4e1a10fb34
better check
2022-10-14 13:32:08 +02:00
Alexander Tokmakov
9b7edd4f13
Merge pull request #42106 from ClickHouse/fix_loading_dependencies
...
Fixes for loading dependencies
2022-10-14 14:31:31 +03:00
Azat Khuzhin
8830f0608d
Support BACKUP to S3 with as-is path/data structure
...
Right now backup to S3 does not make a lot of sense, since:
- it has random names, and to decoding them
- requires metadata from local disk (/var/lib/disks/DISK/BACKUP_NAME)
- or send_metadata (but it is also tricky even with it)
So this patch adds simpler interface for S3, it is only suitable for
BACKUP/RESTORE, so don't try to use it for MergeTree engine.
It is done by adding separate disk - `s3_plain` for this, that:
- does not support any extended features, like renames/hardlinks/attrs/...
(so basically everything that MergeTree requires)
- only write/read/unlink/list files
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-14 12:59:25 +02:00
Roman Vasin
040d61e047
Use {} in error message formatting
2022-10-14 08:13:04 +00:00
Alexey Milovidov
018c68b36d
Merge pull request #42198 from ClickHouse/fix-projections
...
Fix a bug with projections and the `aggregate_functions_null_for_empty` setting
2022-10-14 03:14:19 +02:00
Nikolay Degterinsky
509f0426a9
Merge pull request #42279 from sperlingxx/intv_op_date32
...
Fix Date Interval add/minus over DataTypeDate32
2022-10-13 23:50:35 +02:00
Vladimir C
cf78c70bdd
Merge pull request #41544 from lhuang09287750/master
2022-10-13 17:47:41 +02:00
Roman Vasin
14ba9fa51d
Fix Date32 argument in dispatchConstForSecondColumn
2022-10-13 13:35:14 +00:00
Roman Vasin
4cf2913054
Fix message about allowed argument types
2022-10-13 12:58:22 +00:00
sperlingxx
a901faeb84
Fix add/minus Date Interval over Date32 type
...
Signed-off-by: sperlingxx <lovedreamf@gmail.com>
2022-10-13 18:00:54 +08:00
Ilya Yatsishin
bbf88b66a0
more
2022-10-13 11:42:35 +02:00
Vitaly Baranov
2e59d671fc
Split UserDefinedSQLObjectsLoader to interface and implementation.
2022-10-13 10:32:32 +02:00
Ilya Yatsishin
e7ca30cd11
fix typo
2022-10-13 10:10:13 +02:00
Alexey Milovidov
96332d9159
Merge branch 'master' into fix-projections
2022-10-13 02:23:32 +02:00
Roman Vasin
590ed7b640
Add transforms for other arguments lke year, quarter etc
2022-10-12 15:16:09 +00:00
Vitaly Baranov
9cb2052c7f
Consider Poco::Net::HostNotFoundException as ZCONNECTIONLOSS.
2022-10-12 15:52:55 +02:00
Nikolay Degterinsky
87b77094f0
Merge pull request #42187 from FArthur-cmd/add_default_support_for_settings
...
Add support for keyword DEFAULT in the set query
2022-10-12 15:30:30 +02:00
lhuang09287750
215acf5e5b
check the result of conversion for decimal IN float
2022-10-12 15:28:27 +02:00
lhuang09287750
4b0ac268e8
delete an unusable include
2022-10-12 15:28:27 +02:00
lhuang09287750
cab0291873
for checkstyle:use a internal function to get field string ,instead of std::stringstream
2022-10-12 15:28:27 +02:00
lhuang09287750
338f41913c
add a function to process floating point literal comparing with decimal type in IN opertor
2022-10-12 15:28:27 +02:00
vdimir
0178307c27
Followup for TemporaryDataOnDisk
2022-10-12 15:25:23 +02:00
xinhuitian
daaf01c344
early return
2022-10-12 12:18:17 +08:00
flynn
312afdc280
remove useless code
2022-10-12 03:48:37 +00:00
Nikolay Degterinsky
896e3c47f7
Merge pull request #42135 from ClibMouse/add-null-pointer-checks
...
Add null pointer checks
2022-10-12 01:22:55 +02:00
Alexey Milovidov
bbd1196a96
Update MergeTreeData.cpp
2022-10-12 00:57:02 +03:00
FArthur-cmd
b6304c46d4
move default settings to different part of ast
2022-10-11 18:25:28 +00:00
Azat Khuzhin
688edafcc6
Disks/ObjectStorages: add comments for some classes
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-11 17:21:26 +02:00
Azat Khuzhin
f3833e3a53
Introduce StaticDirectoryIterator
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-11 17:19:35 +02:00
ltrk2
15aa8a88dc
Throw an exception in case of inconsistent state
2022-10-11 05:04:47 -07:00
Ilya Yatsishin
3201c08bb5
style
2022-10-11 13:54:03 +02:00
Ilya Yatsishin
28c7a22428
address review comments
2022-10-11 11:59:48 +02:00
Antonio Andelic
5e6a7c1678
Use multiread where possible
2022-10-11 09:27:46 +00:00
Kseniia Sumarokova
3819a21033
Merge pull request #42078 from azat/insert-progress
...
Fix progress for INSERT SELECT
2022-10-11 10:56:20 +02:00
Alexey Milovidov
56e59dd536
Merge branch 'master' into fix-projections
2022-10-11 02:24:12 +03:00
Alexander Tokmakov
4b371bd20c
fix
2022-10-10 16:38:35 +02:00
Alexander Tokmakov
fa1134f299
Merge branch 'master' into fix_loading_dependencies
2022-10-10 16:30:52 +02:00
Ilya Yatsishin
95c5c8a744
Fail fast on empty URL
2022-10-10 14:50:09 +02:00
alesapin
f6b0dc168d
Disable concurrent parts removal
2022-10-10 14:10:04 +02:00
Yakov Olkhovskiy
b5808a3f00
Merge branch 'master' into composable-protocol
2022-10-10 08:07:48 -04:00
Nikolai Kochetov
dac71f445b
Merge pull request #42186 from ClickHouse/igor/distinct_in_order_fix
...
Fix: DISTINCT in order fails with LOGICAL_ERROR
2022-10-10 09:51:29 +02:00
alesapin
8a2ba6cd81
Add logging during merge tree startup ( #42163 )
2022-10-10 09:32:13 +02:00
Alexey Milovidov
e27dbf4369
Update MergeTreeDataSelectExecutor.cpp
2022-10-09 18:27:47 +03:00
Maksim Kita
2f5b2d782c
Merge pull request #42063 from kitaisreal/function-name-normalization-header-functions
...
Function name normalization fix functions header
2022-10-09 14:19:33 +03:00
Alexey Milovidov
cebc38fa6e
Fix a bug with projections and aggregate_functions_null_for_empty setting
2022-10-09 05:30:25 +02:00
Yakov Olkhovskiy
b74783455f
Update Settings.h
...
fix dialect description
2022-10-08 21:57:05 -04:00
Yakov Olkhovskiy
6c8e52eb67
Merge branch 'master' into composable-protocol
2022-10-08 20:33:32 -04:00
Alexey Milovidov
8cd9878c83
Merge pull request #41921 from ucasfl/remove
...
remove unused code
2022-10-09 03:13:50 +03:00
Alexey Milovidov
9ee6896916
Merge pull request #42002 from ClickHouse/relax-too-many-parts-threshold
...
Relax "too many parts" threshold
2022-10-08 20:17:01 +03:00
Alexey Milovidov
a9cbdeec24
Merge pull request #42180 from ClickHouse/unique-thread-ids
...
Make thread ids in the process list and query_log unique to avoid waste
2022-10-08 20:06:02 +03:00
Alexander Tokmakov
bd10a9d2d4
Merge pull request #42168 from ClickHouse/unreachable_macro
...
Abort instead of `__builtin_unreachable` in debug builds
2022-10-08 19:05:57 +03:00
Alexey Milovidov
9bf5fe728b
Merge pull request #42173 from ClickHouse/remove-temporary-live-view
...
Remove TEMPORARY LIVE VIEW
2022-10-08 19:05:33 +03:00
FArthur-cmd
2bef2b09de
improve test and simplify code
2022-10-08 11:07:46 +00:00
FArthur-cmd
e07a3e1193
add default
2022-10-08 10:33:37 +00:00
Igor Nikonov
f4792c37ef
Fix #42185 : DISTINCT in order fails with LOGICAL_ERROR
...
... if first column in sorting key contains function
2022-10-08 10:13:12 +00:00
alesapin
f695b75eef
Merge pull request #42147 from ClickHouse/more_logs_for_parent_parts
...
Fix checking parent for old-format parts
2022-10-08 12:08:15 +02:00
Ilya Yatsishin
f764f4ce19
Update src/Client/QueryFuzzer.cpp
2022-10-08 08:20:17 +02:00
Alexey Milovidov
2f83d87905
Make thread_ids unique
2022-10-08 02:42:41 +02:00
Alexey Milovidov
ec5a32f534
Make thread_ids unique
2022-10-08 02:05:36 +02:00
Alexey Milovidov
36df8cf785
Merge pull request #42144 from kssenii/fix-non-async-buffer
...
Follow up for #42129
2022-10-08 01:54:38 +03:00
Alexey Milovidov
e4ac4a29a9
Fix error
2022-10-08 00:24:51 +02:00
Alexey Milovidov
a45f7c3023
Relax "too many parts" thresholds
2022-10-08 00:24:51 +02:00
Alexey Milovidov
169c505603
Relax "too many parts" thresholds
2022-10-08 00:24:51 +02:00
Vitaly Baranov
69ebf12dab
Merge pull request #42146 from azat/backups/metadata-overflow-fix
...
Fix reusing of files > 4GB from base backup
2022-10-08 00:22:28 +02:00
Alexey Milovidov
b9159db82f
Remove temporary live views
2022-10-08 00:16:36 +02:00
Alexander Tokmakov
4175f8cde6
abort instead of __builtin_unreachable in debug builds
2022-10-07 21:49:08 +02:00
Maksim Kita
53b655bfa9
Merge pull request #42123 from kitaisreal/jit-compilation-migration-to-llvm-15
...
JIT compilation migration to LLVM 15
2022-10-07 22:02:19 +03:00
Nikolai Kochetov
eccee280a2
Merge pull request #42136 from ClickHouse/revert-27787
...
Revert #27787
2022-10-07 20:38:38 +02:00
Alexander Tokmakov
1a78e8a817
fix
2022-10-07 20:22:03 +02:00
Alexander Tokmakov
a1ff835894
fix
2022-10-07 19:52:34 +02:00
Alexander Tokmakov
014784a9ca
Merge branch 'master' into fix_loading_dependencies
2022-10-07 18:58:11 +02:00
Sergei Trifonov
a313aa4ede
Merge pull request #41908 from AlfVII/remove-table-is-dropped-exception-when-not-needed
...
Don't report TABLE_IS_DROPPED exception in order to skip table in case is was just dropped
2022-10-07 18:40:08 +02:00
Maksim Kita
930bda9c72
Merge branch 'master' into jit-compilation-migration-to-llvm-15
2022-10-07 18:45:53 +03:00
Alexander Tokmakov
ed76584876
fix
2022-10-07 16:52:04 +02:00
Alexander Tokmakov
ec2bca51ca
Merge branch 'master' into improve_replica_recovery
2022-10-07 16:35:57 +02:00
Alexander Tokmakov
b8d9066004
Revert "Resurrect parallel distributed insert select with s3Cluster ( #41535 )"
...
This reverts commit 860e34e760
.
2022-10-07 15:53:30 +02:00
Vitaly Baranov
26b2db2c94
Merge pull request #42073 from BoloniniD/BLAKE3_fixes
...
Minor fixes for BLAKE3
2022-10-07 15:00:13 +02:00
Azat Khuzhin
dae8d6b316
Convert backup version from UInt64 to int
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-07 14:59:38 +02:00
Azat Khuzhin
94566abda9
Fix reusing of files > 4GB from base backup
...
Previosly u64 numbers was truncated to u32 numbers during writing to the
mdatadata xml file, and further incremental backup cannot reuse them,
since the file in base backup is smaller.
P.S. There can be other places, I thought about enabling
-Wshorten-64-to-32, but there are lots of warnings right now.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-07 14:56:09 +02:00
alesapin
f1d93d52d1
Fix checking parent for old-format parts
2022-10-07 14:49:25 +02:00
Yatsishin Ilya
e1859e9ee8
fix style
2022-10-07 12:43:20 +00:00
Azat Khuzhin
2c84ad30ba
Fix double "file" in "Writing backup for file" message
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-07 14:27:11 +02:00
Yatsishin Ilya
f545aa1415
Merge remote-tracking branch 'origin/master' into ast-fuzzer-where
2022-10-07 12:12:27 +00:00
Yatsishin Ilya
81aec3c340
Grouping sets, rollup, cube, totals can be only with GROUP BY
2022-10-07 11:39:47 +00:00
kssenii
53d54ae6c9
Fix
2022-10-07 12:26:54 +02:00
Kseniia Sumarokova
eb6e60753d
Merge pull request #42129 from kssenii/fix-non-async-buffer
...
Fix buffer resize with `remote_filesystem_read_method=read` + fs cache
2022-10-07 12:05:53 +02:00
Maksim Kita
76d6204f99
JIT compilation migration to LLVM 15
2022-10-07 10:53:38 +02:00
Yakov Olkhovskiy
2229087896
Merge branch 'master' into composable-protocol
2022-10-07 02:23:26 -04:00
Yakov Olkhovskiy
997fa5e295
review suggestions
2022-10-07 01:16:22 +00:00
Alexander Tokmakov
bb78bf1c70
improve replica recovery
2022-10-06 21:09:12 +02:00
BoloniniD
d188601881
Fix style
2022-10-06 21:41:26 +03:00
Nikolai Kochetov
c1cc04d44d
Revert #27787
2022-10-06 20:27:55 +02:00
Azat Khuzhin
20dbf5eb34
Fix possible timeout exception for distributed queries with use_hedged_requests=0
...
In case of possible EINTR (i.e. query profiler) it is possible for
select() from getReplicaForReading() (this is the stage when the
initiator is waiting for Cancel packet from the remote shards, that can
be sent in case of enough rows was read, or the query had been cancelled
explicitly) to return without any sockets ready, and
getReplicaForReading() will assume that the timeout happened.
Here is a stacktrace example:
[ 59205 ] {04f3d3a4-7346-4ef2-bf57-928f9e55ed89} <Error> TCPHandler: Code: 159. DB::Exception: Received from b8:9000. DB::Exception: Timeout (-1000 ms) exceeded while reading from . Stack trace:
0. Poco::Exception::Exception() @ 0x17e26eac in /usr/bin/clickhouse
1. DB::Exception::Exception() @ 0xb550b9a in /usr/bin/clickhouse
2. DB::Exception::Exception<>() @ 0x15ad1c81 in /usr/bin/clickhouse
3. DB::MultiplexedConnections::getReplicaForReading(bool) @ 0x15ad16fc in /usr/bin/clickhouse
4. DB::MultiplexedConnections::receivePacketUnlocked() @ 0x15ad02fd in /usr/bin/clickhouse
5. DB::MultiplexedConnections::drain() @ 0x15ad0df8 in /usr/bin/clickhouse
6. DB::ConnectionCollector::drainConnections(DB::IConnections&, bool) @ 0x1443c205 in /usr/bin/clickhouse
7. DB::RemoteQueryExecutor::finish() @ 0x1445ea6a in /usr/bin/clickhouse
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-06 18:20:33 +02:00
Azat Khuzhin
4f268cb414
Fix exception message on timeout (host was missing)
...
Previously before the exception there is a loop for disconnecting, so
dumpAddress* will not return anything, fix this, by saving the
addresses before.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-06 18:14:53 +02:00
kssenii
2d96c81f4c
Fix
2022-10-06 17:09:20 +02:00
Nikolay Degterinsky
16a8145deb
Merge pull request #42046 from evillique/fix-bz2-decoding
...
Fix bzip2 decoding issue
2022-10-06 16:02:09 +02:00
alesapin
3373480ede
Merge pull request #42036 from ClickHouse/fix_one_more_no_such_key
...
Fix No such key during table drop
2022-10-06 14:50:02 +02:00
ltrk2
696a294ef3
Add null pointer checks
2022-10-06 05:48:04 -07:00
Robert Schulze
cc24fcd6d5
Merge pull request #41873 from ClickHouse/generated-file-cleanup
...
Consolidate CMake-generated config headers
2022-10-06 14:31:03 +02:00
Raúl Marín
adbaaca2f5
QOL log improvements ( #41947 )
...
* Uniformize disk reservation logs
* Remove log about destroying stuff that appears all the time
* More tweaks on disk reservation logs
* Reorder logs in hash join
* Remove log that provides little information
* Collapse part removal logs
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2022-10-06 14:22:44 +02:00
Robert Schulze
78be400ac0
Merge remote-tracking branch 'origin/master' into generated-file-cleanup
2022-10-06 12:22:43 +00:00
Nikolay Degterinsky
54ec6a5047
Merge pull request #42071 from evillique/new-http-compression-methods
...
Add new HTTP compression methods
2022-10-06 14:21:39 +02:00
Nikita Mikhaylov
860e34e760
Resurrect parallel distributed insert select with s3Cluster ( #41535 )
2022-10-06 13:47:32 +02:00
Anton Popov
80ebbfbc56
Merge pull request #42066 from CurtizJ/fix-fuzzer-3
...
Fix crash in `SummingMergeTree` with `LowCardinality`
2022-10-06 13:46:26 +02:00
Nikita Mikhaylov
766107df0a
Fixed the restriction on maximum size of replicated fetches ( #42090 )
2022-10-06 13:18:46 +02:00
Anton Popov
aabec50988
Merge pull request #42040 from CurtizJ/async-inserts-log
...
Add system table `asynchronous_insert_log`
2022-10-06 13:14:41 +02:00
alesapin
adb34f6eae
Merge branch 'master' into fix_one_more_no_such_key
2022-10-06 12:42:16 +02:00
alesapin
6d24e16fda
Merge pull request #42067 from ClickHouse/fix_drop_of_completely_dropped_table
...
Fix drop of completely dropped table
2022-10-06 12:40:38 +02:00
Maksim Kita
6ad435d034
Merge branch 'master' into function-name-normalization-header-functions
2022-10-06 13:29:21 +03:00
Kseniia Sumarokova
3cff776109
Merge pull request #41254 from filimonov/system_disks_unreserved_space
...
Add unreserved_space column to system.disks
2022-10-06 12:28:23 +02:00
Maksim Kita
0df77a6df7
Merge pull request #42065 from ucasfl/minor
...
remove unused virtual keyword
2022-10-06 13:26:37 +03:00
Vladimir C
97fb381255
Merge pull request #41813 from zhongyuankai/fix_dist_msg
2022-10-06 11:19:56 +02:00
Vladimir C
3f24c904ad
Merge pull request #41842 from amosbird/index_analysis_1
2022-10-06 11:14:21 +02:00
Vladimir C
0513824fa2
Merge pull request #42049 from ucasfl/parse-date
2022-10-06 11:11:42 +02:00
Robert Schulze
da5a2e2db0
Merge remote-tracking branch 'origin/master' into generated-file-cleanup
...
Physical merge conflicts:
- src/Common/ZooKeeper/ZooKeeperImpl.cpp
- src/Core/config_core.h.in
- src/Functions/FunctionsAES.h
- src/Functions/config_functions.h.in
- src/configure_config.cmake
Logical merge conflicts:
- Functions/tryDecrypt.cpp
2022-10-06 08:43:25 +00:00
Robert Schulze
a5590d6685
Merge pull request #42084 from arenadata/ADQM-599-B
...
Improve work of date time functions like toLastDayOfMonth on range boundaries
2022-10-06 10:32:17 +02:00
Anton Popov
190e1f6830
Merge branch 'master' into async-inserts-log
2022-10-06 01:59:27 +02:00
BoloniniD
87f06bbe0b
Fix [[noreturn]] function variant
2022-10-05 23:38:44 +03:00
Alexander Tokmakov
d682c2ccdb
fix
2022-10-05 22:13:16 +02:00
Alexey Milovidov
aa9e8f1cde
Merge branch 'master' into new-http-compression-methods
2022-10-05 23:07:01 +03:00
Alexey Milovidov
25d13b89e9
Merge pull request #41142 from MeenaRenganathan22/OpenSSL_InHouse
...
Changes to support the OpenSSL In-house build.
2022-10-05 23:02:04 +03:00
Alexander Tokmakov
690ec74bf2
better handling for expressions in dictGet
2022-10-05 20:58:27 +02:00
Alexander Tokmakov
25df3efca5
check dependencies before table shutdown
2022-10-05 20:57:55 +02:00
alesapin
1541d68607
Better exception
2022-10-05 20:40:35 +02:00
alesapin
4ed522d2a0
Fix
2022-10-05 20:36:55 +02:00
alesapin
cf145910e3
Revert first fix
2022-10-05 20:34:48 +02:00
alesapin
644376aa2c
Better fix
2022-10-05 20:32:43 +02:00
Vladimir C
d63a1fde05
Merge pull request #40630 from ClickHouse/vdimir/explain-table-function
2022-10-05 19:52:02 +02:00
Azat Khuzhin
5166a1d58e
Fix written_bytes/written_rows in INSERT SELECT intermediate progress packets
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-05 19:12:18 +02:00
Azat Khuzhin
3efd941233
Fix final progress for INSERT SELECT over TCP
...
Move sending of progress and profile events after calling
BlockIO::onFinish() since it will call on_finish callback, that will do
the final flush of progress (at least WriteProgress).
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-05 19:12:18 +02:00
Anton Popov
f7cf35d1dd
Merge pull request #42072 from CurtizJ/fix-fuzzer-4
...
Fix assertion in bloom filter index
2022-10-05 16:38:13 +02:00
Kseniia Sumarokova
db5642b509
Merge pull request #42041 from kssenii/better-azure-write
...
Rewrite inefficient write to AzureBlobStorage
2022-10-05 16:34:13 +02:00
Roman Vasin
4ab9c15048
Add ToExtendedRelativeDayNumImpl
2022-10-05 14:19:32 +00:00
alesapin
e6fe71b385
Update src/Storages/StorageReplicatedMergeTree.cpp
...
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-10-05 16:12:08 +02:00
alesapin
63be310441
Update src/Storages/StorageReplicatedMergeTree.cpp
...
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-10-05 16:12:03 +02:00
Anton Popov
f61e98f0e8
Merge pull request #40668 from ClickHouse/async-insert-max-data-size-fix
...
Use settings from query context for async INSERTs
2022-10-05 15:15:19 +02:00
Roman Vasin
eb37b0f5b9
Merge branch 'master' of github.com:ClickHouse/ClickHouse into date_diff
2022-10-05 13:15:06 +00:00
Anton Popov
02cdc20d5d
Merge pull request #40096 from CurtizJ/fuzz-table-definitions
...
Add fuzzer for table definitions
2022-10-05 14:53:48 +02:00
Roman Vasin
b54fb83cc5
Merge branch 'master' into ADQM-599-B
2022-10-05 15:50:38 +03:00
Yatsishin Ilya
533b813c8e
better
2022-10-05 12:42:45 +00:00
Yatsishin Ilya
f3a74f0169
Added fuzzer for WHERE and more cases in GROUP BY
2022-10-05 12:42:45 +00:00
Nikolay Degterinsky
aa332d8f5d
Fix build
2022-10-05 08:11:04 +00:00
Nikolay Degterinsky
85e4311127
Merge pull request #42020 from canhld94/ch_canh_fix_rankcorr
...
Fix rankCorr size overflow
2022-10-05 09:19:57 +02:00
Nikolay Degterinsky
980600dc2f
Merge pull request #41206 from canhld94/ch_canh_fix_decrypt_with_null
...
Add function tryDecrypt that returns NULL when decrypt fail
2022-10-05 09:13:36 +02:00
Nikolay Degterinsky
2a4f2bff9b
Better order of compression methods
2022-10-05 00:48:01 +00:00
Anton Popov
e9928fd703
fix clang-tidy
2022-10-04 23:50:14 +00:00
BoloniniD
9dd15998c7
Print nicer exception if BLAKE3 is unavailable
2022-10-05 00:11:41 +03:00
Anton Popov
2f423071f2
fix assertion in bloom filter index
2022-10-04 19:27:56 +00:00
Nikolay Degterinsky
f7e0e497da
Add methods to the tests
2022-10-04 19:04:03 +00:00
Nikita Mikhaylov
2933a28a5d
Add log message and lower the retry timeout in MergeTreeRestartingThread ( #42026 )
2022-10-04 20:07:11 +02:00
alesapin
425b296928
Revert "Revert "Merge pull request #41832 from ClickHouse/make_copy_instead_of_hardlink""
...
This reverts commit f50d46fb8c
.
2022-10-04 17:40:23 +02:00
alesapin
6f185333ff
Fix drop completely dropped table one more time
2022-10-04 17:39:28 +02:00
Anton Popov
fe90919f10
fix crash in SummingMergeTree with LowCardinality
2022-10-04 15:33:38 +00:00
flynn
772aec360b
remove unused virtual keyword
2022-10-04 15:33:29 +00:00
alesapin
f50d46fb8c
Revert "Merge pull request #41832 from ClickHouse/make_copy_instead_of_hardlink"
...
This reverts commit 0097f15ee7
, reversing
changes made to 4e422b8046
.
2022-10-04 17:33:01 +02:00
alesapin
2bfae244cc
Add comments
2022-10-04 17:30:25 +02:00
Maksim Kita
f4101861e7
Function name normalization fix functions header
2022-10-04 17:29:33 +02:00
Kseniia Sumarokova
fc301e8f2d
Merge pull request #42034 from kssenii/fix-azure-write
...
Fix write into AzureBlobStorage
2022-10-04 17:25:41 +02:00
Anton Popov
121ef74b17
slightly better
2022-10-04 14:19:05 +00:00
flynn
e30297e599
fix and update test
2022-10-04 13:36:28 +00:00
alesapin
4a6fa10e71
Merge branch 'master' into fix_one_more_no_such_key
2022-10-04 15:19:05 +02:00
Anton Popov
9a2cabd3a1
Merge branch 'master' into async-inserts-log
2022-10-04 15:10:50 +02:00
Anton Popov
8ca73eab03
Merge branch 'master' into fuzz-table-definitions
2022-10-04 15:10:31 +02:00
Anton Popov
13b4d5f7dc
fix build
2022-10-04 12:54:27 +00:00
Robert Schulze
8864f135c4
Merge branch 'master' into fix-todatetime64
2022-10-04 14:11:45 +02:00
Anton Popov
59605a6c7e
Apply suggestions from code review
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-10-04 13:40:59 +02:00
Nikita Mikhaylov
d767e1f0d8
Added an option to specify environment name in Sentry's config ( #42037 )
2022-10-04 13:23:51 +02:00
flynn
86cb9f7034
parseDataTimeBestEffort support comma between date and time
2022-10-04 09:52:20 +00:00
Kseniia Sumarokova
6d02fa3c5f
Merge pull request #42022 from kssenii/better-exception-merge-tree-data-load-parts
...
More detailed exception message
2022-10-04 11:20:35 +02:00
Roman Vasin
4a5c3e5a6e
Fix toLastDayOfMonth and other functions
2022-10-04 09:09:59 +00:00
Duc Canh Le
cd968ce43d
fix register function
2022-10-04 14:56:46 +08:00
Robert Schulze
1cbceb6611
Merge pull request #42014 from ClickHouse/drop-libexecinfo-leftovers
...
Drop leftovers of libexecinfo
2022-10-04 08:51:17 +02:00
Duc Canh Le
a886804cbf
Merge branch 'master' into ch_canh_fix_decrypt_with_null
2022-10-04 13:20:29 +08:00
Nikolay Degterinsky
99dc396c77
Add new HTTP compression methods
2022-10-04 03:13:46 +00:00
Nikolay Degterinsky
b73b5375a7
Fix bz2 decoding
2022-10-04 00:10:04 +00:00
zvonand
087a0e939b
fix date csv parsing
2022-10-04 01:38:54 +03:00
Anton Popov
148995894f
add system table asynchronous_inserts_log
2022-10-03 21:35:55 +00:00
alesapin
210882b9c4
Better fix
2022-10-03 23:30:50 +02:00
kssenii
2ab884359e
More efficient WriteBufferFromAzureBlobStorage
2022-10-03 22:15:04 +02:00
Robert Schulze
011748e431
Merge pull request #41950 from ClibMouse/fix-split-build-configuration
...
Fix linker error
2022-10-03 21:32:22 +02:00
Yakov Olkhovskiy
0edae06d2e
Merge pull request #41792 from FrankChen021/cors
...
Fix a bug that CORS headers are missing in some HTTP responses
2022-10-03 14:50:10 -04:00
Nikolay Degterinsky
58d644441f
Merge branch 'master' into ch_canh_fix_rankcorr
2022-10-03 20:19:01 +02:00
Robert Schulze
385be7f528
Fix tests
2022-10-03 18:05:16 +00:00
Sergei Trifonov
4b4fae5bb1
Merge branch 'master' into remove-table-is-dropped-exception-when-not-needed
2022-10-03 19:52:08 +02:00
Vladimir C
fa254bcec3
Fix clang-tidy in TableFunctionExplain.cpp
2022-10-03 19:14:40 +02:00
vdimir
06f504c166
doc viewExplain
2022-10-03 19:14:40 +02:00
vdimir
3fdea908ff
Use ASTExplain in viewExplain
2022-10-03 19:14:40 +02:00
vdimir
6028643e04
Add function viewExplain
2022-10-03 19:14:40 +02:00
alesapin
71e1b1df73
add comment
2022-10-03 19:09:24 +02:00
alesapin
3114ddcad2
Fix failure during table drop
2022-10-03 19:06:12 +02:00
kssenii
c6d7cd5820
Fix write into azure blob storage
2022-10-03 18:54:07 +02:00
Robert Schulze
ff2cbff4a1
Check boundaries similar to integer handling
2022-10-03 15:50:26 +00:00
ltrk2
ab609cfbd4
Fix linker error
2022-10-03 10:45:10 -04:00
Alexey Milovidov
c8872fe96d
Merge pull request #42001 from ClickHouse/part-thresholds-override-more-sane
...
More sane behavior of part number thresholds override in query level settings
2022-10-03 17:25:39 +03:00
Robert Schulze
123afbca80
Fix toDateTime64() for negative floats
...
Resolves #41686
2022-10-03 13:33:12 +00:00
Vitaly Baranov
65c61877c7
Merge pull request #33435 from BoloniniD/BLAKE3
...
Integrating Rust code into ClickHouse
2022-10-03 15:25:06 +02:00
Roman Vasin
dab5e80c81
Add support of Date32 arguments
2022-10-03 13:15:32 +00:00
flynn
ea06e20cae
remove unused code
2022-10-03 21:03:41 +08:00
Anton Popov
2054582a06
Merge pull request #41960 from ucasfl/insert-from-optimize
...
optimize insertFrom of ColumnAggregateFunction to share Aggregate State in some cases
2022-10-03 14:57:39 +02:00
Kseniia Sumarokova
0bfbb5c38a
Merge branch 'master' into system_disks_unreserved_space
2022-10-03 14:25:47 +02:00
kssenii
0dc71e9883
More detailed exception message
2022-10-03 14:21:53 +02:00
Duc Canh Le
369f084070
Update src/AggregateFunctions/AggregateFunctionRankCorrelation.h
...
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-10-03 20:15:31 +08:00
Duc Canh Le
fad6af40cd
Merge branch 'master' into ch_canh_fix_rankcorr
2022-10-03 19:57:51 +08:00
Duc Canh Le
34f598e09b
fix rankcorr size overflow
2022-10-03 19:55:37 +08:00
Alexander Tokmakov
00914a174d
Merge pull request #41410 from ClickHouse/keeper-multiread
...
Add MultiRead support in Keeper and internal ZK client
2022-10-03 14:17:57 +03:00
Nikolai Kochetov
dcfb8a1131
Merge pull request #41949 from ClickHouse/improvement-from-38083
...
Earlier throw exception in PullingAsyncPipelineExecutor.
2022-10-03 13:05:58 +02:00
Duc Canh Le
528591245f
Fix register name
2022-10-03 18:46:20 +08:00
Robert Schulze
aa9373c9c2
Merge pull request #41951 from ClickHouse/llvm-14
...
Bump LLVM from 13 to 14
2022-10-03 12:34:31 +02:00
Alexander Tokmakov
a2c29076d6
avoid detached broken part duplicates
2022-10-03 12:27:17 +02:00
Alexander Tokmakov
3f9c9c9a77
fix intersecting part if session expired during queue initialization
2022-10-03 12:27:17 +02:00