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
Alexander Tokmakov
7b5b7e4963
Merge pull request #41945 from ClickHouse/enable_more_s3_tests
...
Enable some disabled S3 tests
2022-10-03 13:25:50 +03:00
Duc Canh Le
acfc0cf0ab
add doc for tryDecrypt
2022-10-03 18:06:54 +08:00
Duc Canh Le
fbb9b3f5ab
Merge branch 'master' into ch_canh_fix_decrypt_with_null
2022-10-03 17:56:06 +08:00
Robert Schulze
919b4e2349
Drop leftovers of libexecinfo
...
- libexecinfo was perhaps used in the past but today it is unused
2022-10-03 08:51:28 +00:00
Robert Schulze
db5ef7b3cb
Merge branch 'master' into generated-file-cleanup
2022-10-02 23:13:18 +02:00
Robert Schulze
d726ca3212
Refactoring: Un-inline some error handling methods
2022-10-02 19:52:40 +00:00
Robert Schulze
5b1a7755d8
Fix typos
2022-10-02 21:38:46 +02:00
Robert Schulze
8e727d4fbc
Merge pull request #41910 from arenadata/ADQM-583
...
Improve enable_extended_results_for_datetime_functions option to return results of type DateTime64
2022-10-02 20:46:51 +02:00
Robert Schulze
fe2dde0c89
Merge pull request #41702 from ClibMouse/resolve-findings-from-clang-tidy
...
Resolve findings from clang-tidy
2022-10-02 20:36:24 +02:00
BoloniniD
3a3ca51980
Fixes after review
2022-10-02 20:52:05 +03:00
Alexey Milovidov
0d1d177013
Merge pull request #41131 from JackyWoo/add_function_java_int_hash
...
Support Java integers hashing in `javaHash`
2022-10-02 18:10:51 +03:00
Alexey Milovidov
c5586f7644
Merge pull request #42004 from ClickHouse/remove-useless-code-3
...
Remove useless code
2022-10-02 17:01:06 +03:00
Alexey Milovidov
69eae01ce6
Merge branch 'master' into part-thresholds-override-more-sane
2022-10-02 16:59:51 +03:00
Vitaly Baranov
baf48ec400
Merge pull request #41562 from vitlibar/refactor-wiping-info-from-logs
...
Refactor wiping sensitive information from logs.
2022-10-02 12:58:58 +02:00
Duc Canh Le
99bf356220
Merge branch 'master' into ch_canh_fix_decrypt_with_null
2022-10-02 14:35:42 +08:00
Alexey Milovidov
90b9afab21
Remove useless code
2022-10-02 01:50:36 +02:00
Alexey Milovidov
daab7f7f61
Merge pull request #41987 from ClickHouse/musl-4
...
Preparation for Musl build, part 4
2022-10-02 02:35:01 +03:00
Alexey Milovidov
0da9ed8a18
Merge branch 'master' into part-thresholds-override-more-sane
2022-10-02 02:26:21 +03:00
Alexander Tokmakov
e40917a9c5
fix
2022-10-02 00:44:46 +02:00
Alexey Milovidov
bd277348ca
Merge pull request #41984 from ClickHouse/vdimir/followup-40893
...
Rename max_temp_data_on_disk -> max_temporary_data_on_disk
2022-10-01 23:45:49 +03:00
Alexey Milovidov
7b71524109
More sane behavior of part number thresholds override in query level settings
2022-10-01 20:18:12 +02:00
Alexey Milovidov
0e3b9bf3ff
Add more checkStackSize calls
2022-10-01 17:48:56 +02:00
Vitaly Baranov
a5b2a49ab1
Refactor wiping sensitive information from logs.
2022-10-01 17:17:45 +02:00
Alexey Milovidov
25b75a6982
Merge pull request #41983 from amosbird/issue_9338
...
Support countState(*)
2022-10-01 17:34:42 +03:00
Vitaly Baranov
feece38912
Merge pull request #41852 from vitlibar/fix-parallel-parsing-with-max-rows
...
Fix parallel parsing: segmentator now checks max_block_size.
2022-10-01 15:33:39 +02:00
Vitaly Baranov
c16ae1b916
Merge pull request #41980 from vitlibar/remove-warning-when-perform-ttl-move-on-insert-false
...
Remove confusing warning when perform_ttl_move_on_insert is false
2022-10-01 15:32:34 +02:00
Kseniia Sumarokova
59596e9067
Merge pull request #41970 from kssenii/fix-use-env-credentials-s3
...
Fix use_environment_credentials for s3 table function
2022-10-01 13:54:58 +02:00
vdimir
498ba33160
Rename max_temp_data_on_disk -> max_temporary_data_on_disk
2022-10-01 08:51:33 +00:00
Amos Bird
98fc22b08e
Support countState(*)
2022-10-01 14:59:26 +08:00
root
7e4edfeb5a
Merge branch 'master' of https://github.com/MeenaRenganathan22/ClickHouse into OpenSSL_InHouse
2022-09-30 15:50:46 -07:00
root
4318ec125e
Merge branch 'master' of https://github.com/MeenaRenganathan22/ClickHouse into OpenSSL_InHouse
2022-09-30 15:50:22 -07:00
Vitaly Baranov
f65d3ff95a
Fix parallel parsing: segmentator now checks max_block_size.
2022-09-30 22:34:03 +02:00
Vitaly Baranov
7be9744bab
Remove confusing warning when inserting with perform_ttl_move_on_insert=false.
2022-09-30 20:51:48 +02:00
root
bb1771e159
Update the macro ENABLE_CH_BUNDLE_BORINGSSLL to ENABLE_EXTERNAL_OPENSSL
2022-09-30 10:35:49 -07:00
ltrk2
0505040e50
Resolve finding from clang-tidy
2022-09-30 10:31:44 -07:00
alesapin
00bf90186a
Better
2022-09-30 19:03:54 +02:00
alesapin
350ff96628
Fix potential race condition with broken parts
2022-09-30 19:01:06 +02:00
BoloniniD
fe7b2fdf6e
Merge branch 'master' into BLAKE3
2022-09-30 18:51:31 +03:00
Anton Popov
9916e35b3f
Merge pull request #41701 from CurtizJ/fix-monotonic-order-by
...
Fix `ORDER BY` monotonic functions
2022-09-30 17:32:37 +02:00
Nikolay Degterinsky
4423f624ef
Merge pull request #41755 from evillique/set-query-params-formatting
...
Fix SET query parameters formatting
2022-09-30 17:14:01 +02:00
Nikolay Degterinsky
09489412f2
Merge pull request #41862 from evillique/fix-union
...
Add default UNION/EXCEPT/INTERSECT to the echo query text
2022-09-30 17:06:44 +02:00
Anton Popov
a3009ed9e4
fix clang-tidy
2022-09-30 13:54:05 +00:00
Robert Schulze
5273280ba4
Fix build
2022-09-30 12:36:22 +00:00
kssenii
fb3bcd2fe9
Fix use_environment_credentials
2022-09-30 12:25:39 +02:00
flynn
d666951cb1
optimize insertFrom of ColumnAggregateFunction to share Aggregate State in some cases
2022-09-30 18:04:51 +08:00
Vladimir C
895afdec45
Merge pull request #40893 from ClickHouse/vdimir/track-tmp-disk
2022-09-30 11:27:24 +02:00
Robert Schulze
4ac308a7a6
Update submodule + fix compile error
2022-09-30 09:23:41 +00:00
Robert Schulze
cc92a2d174
Merge branch 'master' into generated-file-cleanup
2022-09-30 09:56:31 +02:00
Roman Vasin
f716fc2fe5
Put list of functions in correct order in docs; Use new formatting in exception messages.
2022-09-30 07:54:35 +00:00
Nikolay Degterinsky
9f5276f839
Merge branch 'master' into fix-union
2022-09-29 23:16:22 +02:00
Nikolay Degterinsky
3de6d76356
Merge branch 'master' into set-query-params-formatting
2022-09-29 23:15:03 +02:00
BoloniniD
55c79230b3
Merge branch 'master' of github.com:ClickHouse/ClickHouse into BLAKE3
2022-09-29 23:53:25 +03:00
Robert Schulze
f38d71aac9
Fix includes
2022-09-29 20:34:21 +00:00
Nikolai Kochetov
8f9e6dd03a
Earlier throw exception in PullingAsyncPipelineExecutor.
2022-09-29 18:07:43 +00:00
Alexander Tokmakov
ec2bd5701a
Merge branch 'master' into replicated-database-fix-2
2022-09-29 21:04:21 +03:00
Robert Schulze
5dcdf60f68
Merge pull request #41762 from ClickHouse/bump-llvm-to-13
...
Bump LLVM from 12 to 13
2022-09-29 19:37:46 +02:00
Roman Vasin
45414b251d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-583
2022-09-29 17:02:49 +00:00
Maksim Kita
f5a8acaa4a
Merge pull request #41870 from jiebinn/compare_with_empty_string
...
FunctionsComparison: optimize the string_vector_constant when empty string constant
2022-09-29 19:30:02 +03:00
Roman Vasin
c6fda60f32
Cleanup code
2022-09-29 15:45:49 +00:00
Roman Vasin
02e08fa301
Use another approach for timeSlot()
2022-09-29 15:44:56 +00:00
alesapin
0097f15ee7
Merge pull request #41832 from ClickHouse/make_copy_instead_of_hardlink
...
Use copy for some operations instead of hardlinks
2022-09-29 17:12:08 +02:00
Alexander Tokmakov
4e422b8046
Merge pull request #41741 from ClickHouse/fix_intersecting_parts
...
Fix intersecting parts
2022-09-29 18:00:22 +03:00
Roman Vasin
e0099d52de
Use C++20 format() syntax for exceptions
2022-09-29 14:07:02 +00:00
Nikolai Kochetov
8e23bee03c
Merge pull request #41650 from ClickHouse/keep-destruction-order-of-view-thread-statuses
...
Fix a destruction order for views ThreadStatus
2022-09-29 14:28:14 +02:00
Amos Bird
44eaa9583b
Merge branch 'master' into index_analysis_1
2022-09-29 20:25:03 +08:00
JackyWoo
c70d687cfb
fix build error
2022-09-29 19:56:50 +08:00
Nikita Mikhaylov
afe6c99e7d
Update DatabaseReplicated.cpp
2022-09-29 13:23:14 +02:00
Roman Vasin
53b34c7e0a
Put enable_extended_results_for_datetime_functions into private; correct if/else braces
2022-09-29 11:04:13 +00:00
Nikita Mikhaylov
ab97c60118
Done
2022-09-29 11:00:23 +00:00
Kseniia Sumarokova
0222abae21
Merge pull request #41884 from ClickHouse/kssenii-patch-5
...
Update CachedOnDiskReadBufferFromFile.cpp
2022-09-29 12:42:25 +02:00
Antonio Andelic
94f1fe39bb
Add support for exists in multiread
2022-09-29 10:39:33 +00:00
Robert Schulze
6381631836
Merge pull request #41824 from ClickHouse/tryBase58
...
Add function tryBase58Decode()
2022-09-29 12:38:58 +02:00
Antonio Andelic
0056eebb08
Cleanup
2022-09-29 10:10:49 +00:00
vdimir
f495361e28
fixes for TemporaryDataOnDisk
2022-09-29 10:09:29 +00:00
vdimir
14cd2b632c
fix Context::shutdown
2022-09-29 09:51:49 +00:00
vdimir
1234b70118
Handle decorator checking tmp disk type
2022-09-29 09:51:49 +00:00
vdimir
0605f6ed7f
fix after rebase
2022-09-29 09:51:48 +00:00
vdimir
cb4397d1ed
Create reader only after the TemporaryDataOnDisk::read
2022-09-29 09:51:48 +00:00
vdimir
6f8e8b979d
Revert "wip"
...
This reverts commit 46e4f0236df9a6f7b03d40278e583bc93b96559a.
2022-09-29 09:51:47 +00:00
vdimir
74d45325b3
wip
2022-09-29 09:51:46 +00:00
vdimir
0f1a7c252d
better TemporaryDataOnDisk
2022-09-29 09:51:46 +00:00
Vladimir C
dd20fa37f5
Fix typos
2022-09-29 09:51:45 +00:00
vdimir
9f3f34548c
Allow to create temporaty streams on leaf TemporaryDataOnDisk
2022-09-29 09:51:45 +00:00
vdimir
efe0f99658
Fix reading block info in NativeReader with header in ctor
2022-09-29 09:51:44 +00:00
vdimir
858769584f
Fix MergeSortingTransform
2022-09-29 09:51:43 +00:00
vdimir
0093752271
Upd log message
2022-09-29 09:51:43 +00:00
vdimir
a56a10f089
Do not require tmp_data in Aggregator
2022-09-29 09:51:42 +00:00
vdimir
15c7a3be34
Temp data on disk: build
2022-09-29 09:51:41 +00:00
vdimir
c0898ce289
Use abstraction for temporary data on disk in Sort and Aggregation
2022-09-29 09:51:41 +00:00
vdimir
ac39bbb3f1
[wip] Common interface for temporary data on disk
2022-09-29 09:51:40 +00:00
vdimir
367c77f0fb
Check if tmp volume contains only local disks
2022-09-29 09:51:39 +00:00
Roman Vasin
22ccce6946
Remove WithContext; Rename execute_extended_result to executeExtendedResult
2022-09-29 09:29:07 +00:00
Antonio Andelic
fcc54104a4
Define methods for multi read requests
2022-09-29 09:19:47 +00:00
Maksim Kita
3a0ae185bc
Merge branch 'master' into compare_with_empty_string
2022-09-29 11:30:02 +03:00
JackyWoo
5683676b72
throw exception for unsigned types
2022-09-29 15:50:03 +08:00
Antonio Andelic
bcefa6e62a
Use chassert
2022-09-29 07:06:18 +00:00
Antonio Andelic
3109ce51c6
Merge branch 'master' into keeper-multiread
2022-09-29 06:50:49 +00:00
Antonio Andelic
349bd7fd9a
Dont fail MultiRead on first failed op
2022-09-29 06:50:28 +00:00
Alfonso Martinez
981f2e119f
Forgot to add function to header
2022-09-29 08:44:10 +02:00
Yakov Olkhovskiy
5e40f2ebca
review suggestions
2022-09-29 00:13:40 +00:00
Anton Popov
14119fc306
more often mutations for complex type
2022-09-28 21:10:41 +00:00
Anton Popov
986f00f6d9
clear fuzzed tables after drop
2022-09-28 21:06:50 +00:00
Alexey Milovidov
3170e5c4b9
Update FunctionsHashing.h
2022-09-28 21:11:32 +03:00
Alfonso Martinez
261ab8e1d0
Fixed style
2022-09-28 18:59:07 +02:00
avogar
e16cfd361b
Improve DateTime type inference for text formats
2022-09-28 16:55:42 +00:00
Alfonso Martinez
65b161341c
Replaced changed functions for tryLockForShare
2022-09-28 18:08:10 +02:00
Roman Vasin
e66e70870a
Fix timezone issues
2022-09-28 16:05:59 +00:00
Anton Popov
34bc16cd5b
avoid more useless errors
2022-09-28 15:55:39 +00:00
Jiebin Sun
2288970d3e
FunctionsComparison: optimize the comparison with empty string
...
Add the fast path in string_vector_constant if the string constant
is empty string. If the string size a_size and the string constant
size b_size are both 0, they are equal and both empty string. And
there is no need to call memequalSmallAllowOverflow15() for string
comparison.
We have tested the patch on ICX 8380 x 2 server with ClickBench.
Query 5, 10, 12, 13, 14, 15, 18, 20, 21, 22, 24, 25, 26, 27, 29, 34
of Clickbench have gained 2%-6% improvement. The overall geomean has
gained 1% improvement.
2022-09-28 23:48:34 +08:00
Alfonso Martinez
6bb166b79b
exception replaced by nullptr
2022-09-28 17:41:51 +02:00
Anton Popov
4ac5df2540
drop all fuzzed tables
2022-09-28 14:52:10 +00:00
alesapin
905d4585ac
Merge branch 'master' into make_copy_instead_of_hardlink
2022-09-28 16:47:45 +02:00
Robert Schulze
f24fab7747
Fix some #include atrocities
2022-09-28 13:49:28 +00:00
alesapin
072c19ba96
Merge pull request #41838 from tbsal/tbsal_34798
...
Improve feedback when replacing partition with different primary key
2022-09-28 15:33:11 +02:00
Robert Schulze
fd86829824
Consolidate config_core.h into config.h
...
Less duplication, less confusion ...
2022-09-28 13:31:57 +00:00
avogar
2583e6d3ce
Use string_view
2022-09-28 13:14:54 +00:00
alesapin
1d9e126f94
Merge pull request #41856 from ClickHouse/fix_possible_no_such_key
...
Remove two redundant lines
2022-09-28 15:05:55 +02:00
Robert Schulze
09c62f6728
Consolidate config_formats.h into config.h
...
Less duplication, less confusion ...
2022-09-28 12:59:05 +00:00
Kruglov Pavel
6340369c2a
Merge branch 'master' into improve-combinators
2022-09-28 14:55:30 +02:00
Robert Schulze
0753fd1c77
Consolidate config_functions.h into config.h
...
Less duplication, less confusion ...
2022-09-28 12:48:26 +00:00
Robert Schulze
6d70b4a1f6
Generate config_version.h into ${CONFIG_INCLUDE_PATH}
...
This makes the target location consistent with other auto-generated
files like config_formats.h, config_core.h, and config_functions.h and
simplifies the build of clickhouse_common.
2022-09-28 12:48:26 +00:00