Yatsishin Ilya
efb418a7e7
fix
2022-07-14 16:30:59 +00:00
Kruglov Pavel
9c443038c7
Update low_cardinality_argument.xml
2022-07-14 18:28:25 +02:00
avogar
9291d33080
Pass const std::string_view & by value, not by reference
2022-07-14 16:11:57 +00:00
Maksim Kita
59bddf0c91
Merge pull request #39233 from xoelop/patch-1
...
Fix typo in string search functions docs page
2022-07-14 18:00:06 +02:00
Maksim Kita
f5bacedaf9
Merge pull request #38553 from hexiaoting/mapupdate_dev
...
Fix bug for mapUpdate
2022-07-14 17:59:37 +02:00
Yakov Olkhovskiy
1f09303d54
Merge pull request #39181 from azat/part_log-merge_algorithm
...
Add merge_algorithm to system.part_log
2022-07-14 11:43:04 -04:00
Xoel Lopez Barata
10625e7c54
Fix typo
...
Replace "indicies" by "indices"
2022-07-14 17:41:48 +02:00
Sergei Trifonov
b2317ff710
renaming to be consistent
2022-07-14 17:33:22 +02:00
Alexander Tokmakov
c8ae75da19
Merge branch 'master' into tavplubix-patch-1
2022-07-14 18:20:22 +03:00
Anton Popov
d4cb2184c2
Merge branch 'master' into randomize-more-settings
2022-07-14 17:01:07 +02:00
Nikolai Kochetov
b24eeedf53
Merge branch 'master' into nullable-partition-fix1
2022-07-14 16:41:38 +02:00
Robert Schulze
62149111d3
Fix build
2022-07-14 14:36:31 +00:00
Robert Schulze
22abb97b91
Enable -Wc11-extensions
2022-07-14 14:36:23 +00:00
Yakov Olkhovskiy
9ecf19c883
Merge pull request #39212 from azat/stack_trace-filter-v2
...
Optimize accesses to system.stack_trace (filter by name before sending signal)
2022-07-14 10:33:26 -04:00
Alexander Tokmakov
f8e23c1deb
Update run.sh
2022-07-14 17:29:08 +03:00
Azat Khuzhin
b20407fab9
Fix NOEXCEPT_SCOPE (before it calls std::terminate and looses the exception)
...
Current implementation of NOEXCEPT_SCOPE will not work, you cannot
rethrow exception outside the catch block, this will simply terminate
(via std::terminate) the program.
In other words NOEXCEPT_SCOPE macro will simply call std::terminate on
exception and will lost original exception.
But if NOEXCEPT_SCOPE will accept the code that should be runned w/o
exceptions, then it can catch exception and log it, rewrite it in this
way.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-14 17:16:18 +03:00
Suzy Wang
0804ff9284
Update as suggested
2022-07-14 07:12:59 -07:00
Alexey Milovidov
06a1874c17
Merge pull request #38988 from guowangy/align-branch-within-32b
...
Align branches within a 32B boundary to make benchmark more stable
2022-07-14 16:16:29 +03:00
Dan Roscigno
dc1269bca5
Merge pull request #39226 from ClickHouse/DanRoscigno-patch-3
...
spelling
2022-07-14 09:01:59 -04:00
Dan Roscigno
9955b097d4
spelling
2022-07-14 09:00:54 -04:00
Dan Roscigno
564de52f8d
Merge pull request #39205 from DanRoscigno/fix-indent
...
fix indent and link on remote table function
2022-07-14 08:54:22 -04:00
Yatsishin Ilya
32e48f661a
Fixed query_log result_bytes metric that showed inseted rows instead of bytes
2022-07-14 12:51:56 +00:00
Robert Schulze
97aa9a7371
Enable -Wpacked
2022-07-14 12:36:57 +00:00
Robert Schulze
e7bc973ffb
Enable -Wshift-sign-overflow
2022-07-14 12:36:56 +00:00
Robert Schulze
3d734a0640
Enable -Wnested-anon-types
2022-07-14 12:36:55 +00:00
Robert Schulze
72d45bdff3
Enable -Wvla-extension
2022-07-14 12:36:53 +00:00
Robert Schulze
439b786156
Enable -Wunused-command-line-argument
2022-07-14 12:36:52 +00:00
Robert Schulze
da4724e7f5
Enable -Wreturn-std-move-in-c++11
2022-07-14 12:36:48 +00:00
Anton Popov
51533adee8
fix build
2022-07-14 11:33:23 +00:00
Robert Schulze
add83f7836
Merge pull request #39213 from ClickHouse/enable-wdeprecated-dynamic-exception-spec
...
Enable warning "-Wdeprecated-dynamic-exception-spec"
2022-07-14 13:09:18 +02:00
Robert Schulze
ac5a06d944
Update doxygen
2022-07-14 11:02:01 +00:00
Kruglov Pavel
1f7fe10313
Update low_cardinality_argument.xml
2022-07-14 12:54:14 +02:00
Kruglov Pavel
6d85dcd8a8
Update src/Functions/isNotNull.cpp
...
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2022-07-14 12:51:50 +02:00
Sergei Trifonov
8a693469f0
Merge branch 'master' into remote-io-bandwidth-limits
2022-07-14 12:38:35 +02:00
Vladimir C
b5011b5157
Merge pull request #39169 from FArthur-cmd/add_docs_for_dist_func
...
Documentation for array's distance functions
2022-07-14 12:36:17 +02:00
Kseniia Sumarokova
530dac6487
Merge pull request #37213 from aaapetrenko/master
...
add TableFunctionMongoDB and tests
2022-07-14 12:09:07 +02:00
Ilya Yatsishin
5c8b9e4a14
Merge pull request #39170 from qoega/otel-trace-processors-setting
...
Add setting opentelemetry_trace_processors
2022-07-14 11:27:05 +02:00
Raúl Marín
35d3a0dd1f
Don't report system.errors when the disk is not rotational
2022-07-14 11:08:26 +02:00
Azat Khuzhin
531e3b13ce
Optimize accesses to system.stack_trace (filter by name before sending signal)
...
Because of failed rebase/push this part of the patch was lost, so
resending separatelly (sigh).
Follow-up for: #39177 (cc @yakov-olkhovskiy)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-14 11:49:34 +03:00
Azat Khuzhin
3e77b80b88
Fix fetch of in-memory part with allow_remote_fs_zero_copy_replication
...
CI founds the following error during trying to fetch in-memory part [1]:
2022.07.13 08:06:54.231033 [ 141093 ] {} <Error> InterserverIOHTTPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/disks/s3/store/886/88635b40-e4e3-4fe6-a0a0-1b6755463358/all_0_0_0/data.bin, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below):
<details>
<summary>stacktrace</summary>
2022.07.13 08:06:54.101825 [ 189342 ] {8dbd11b3-f38a-4d5d-9ded-148987adb71d} <Debug> executeQuery: (from [::1]:54570) (comment: 01643_replicated_merge_tree_fsync_smoke.sql) select 'memory in_memory_parts_insert_sync'; (stage: Complete)
2022.07.13 08:06:54.131309 [ 691 ] {} <Debug> test_26u6kx.rep_fsync_r2 (39c3823c-22e5-4c05-9dec-cdffd8872c40): Fetching part all_0_0_0 from /clickhouse/tables/test_26u6kx/rep_fsync/replicas/r1
2022.07.13 08:06:54.231033 [ 141093 ] {} <Error> InterserverIOHTTPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/disks/s3/store/886/88635b40-e4e3-4fe6-a0a0-1b6755463358/all_0_0_0/data.bin, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below):
0. DB::Exception::Exception() @ 0xba0191a in /usr/bin/clickhouse
1. DB::throwFromErrnoWithPath() @ 0xba029ca in /usr/bin/clickhouse
2. DB::OpenedFile::open() const @ 0x156e7fb0 in /usr/bin/clickhouse
3. DB::OpenedFile::getFD() const @ 0x156e8003 in /usr/bin/clickhouse
4. DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache() @ 0x156e5f23 in /usr/bin/clickhouse
5. ? @ 0x156e53f0 in /usr/bin/clickhouse
6. DB::createReadBufferFromFileBase() @ 0x156e52b5 in /usr/bin/clickhouse
7. DB::DiskLocal::readFile() const @ 0x15e45ea8 in /usr/bin/clickhouse
8. DB::MetadataStorageFromDisk::readFileToString() const @ 0x15e6ab8b in /usr/bin/clickhouse
9. DB::MetadataStorageFromDisk::readMetadataUnlocked() const @ 0x15e6cdeb in /usr/bin/clickhouse
10. DB::MetadataStorageFromDisk::getSerializedMetadata() const @ 0x15e6cfc4 in /usr/bin/clickhouse
11. DB::DiskObjectStorage::getSerializedMetadata() const @ 0x15e19e2e in /usr/bin/clickhouse
12. DB::DiskDecorator::getSerializedMetadata() const @ 0x15e54ed1 in /usr/bin/clickhouse
13. DB::DiskDecorator::getSerializedMetadata() const @ 0x15e54ed1 in /usr/bin/clickhouse
14. DB::DataPartsExchange::Service::sendPartFromDiskRemoteMeta() @ 0x1700bb9e in /usr/bin/clickhouse
15. DB::DataPartsExchange::Service::processQuery(DB::HTMLForm const&, DB::ReadBuffer&, DB::WriteBuffer&, DB::HTTPServerResponse&) @ 0x1700a649 in /usr/bin/clickhouse
16. DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x17433c53 in /usr/bin/clickhouse
17. DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x174344f1 in /usr/bin/clickhouse
18. DB::HTTPServerConnection::run() @ 0x1768714d in /usr/bin/clickhouse
19. Poco::Net::TCPServerConnection::start() @ 0x1a398093 in /usr/bin/clickhouse
20. Poco::Net::TCPServerDispatcher::run() @ 0x1a399411 in /usr/bin/clickhouse
21. Poco::PooledThread::run() @ 0x1a54b7bb in /usr/bin/clickhouse
22. Poco::ThreadImpl::runnableEntry(void*) @ 0x1a548ec0 in /usr/bin/clickhouse
23. ? @ 0x7fdf1c204609 in ?
24. clone @ 0x7fdf1c129133 in ?
(version 22.7.1.1781 (official build))
</details>
[1]: https://s3.amazonaws.com/clickhouse-test-reports/0/8b6e31cc615ca52c80724b6e5097777cb9514f07/stateless_tests__release__s3_storage__actions_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-14 11:43:35 +03:00
Robert Schulze
198abad284
Disallow const haystack with non-const needle argument
2022-07-14 08:16:01 +00:00
Vladimir C
66f2ea5ebb
Merge pull request #39123 from vdimir/fjs-pushdown
...
Pushdown filter to the right side of sorting join
2022-07-14 09:32:19 +02:00
Robert Schulze
110862a11e
Merge pull request #38502 from ClibMouse/Issue_38498
...
Fixed bug in parsing {..} regex
2022-07-14 08:27:31 +02:00
Robert Schulze
6ec4f3cf3d
Implement non-const needle arguments in multiSearchAllPositions
2022-07-14 06:24:28 +00:00
Yakov Olkhovskiy
d6a09acb38
Merge pull request #39177 from azat/stack_trace-filter
...
Optimize accesses to system.stack_trace
2022-07-14 01:47:14 -04:00
Yakov Olkhovskiy
887a34869d
merge_reason and merge_algorithm are added
2022-07-14 01:44:19 -04:00
Yakov Olkhovskiy
d108efa2f6
merge_algorithm is added
2022-07-14 01:36:45 -04:00
Nikolay Degterinsky
7ae2f624cc
Merge pull request #39188 from morozovsk/patch-11
...
Documentation: Functions hasAny and hasAll also can use a Bloom filter.
2022-07-14 02:50:22 +02:00
Nikolay Degterinsky
cfe7413678
Merge pull request #38935 from evillique/translate
...
Add functions translate & translateUTF8
2022-07-14 02:31:37 +02:00
DanRoscigno
add169278b
fix indent and link
2022-07-13 19:27:33 -04:00