Commit Graph

99718 Commits

Author SHA1 Message Date
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
1a1a20587e
Update defines.h 2022-10-07 21:26:09 +03: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
Robert Schulze
1bf9f6c76f
Merge pull request #42152 from ClickHouse/fix-sidebar
Docs: Add "TABLE" to CHECK/DESCRIBE statements in sidebar
2022-10-07 17:28:30 +02:00
Alexander Tokmakov
ed76584876 fix 2022-10-07 16:52:04 +02:00
Robert Schulze
3e3c0a7bb6
Docs: Add "TABLE" to CHECK/DESCRIBE statements in sidebar 2022-10-07 14:41:00 +00:00
Robert Schulze
cde0257d11
Docs: Remove obsolete pages
Removes page https://clickhouse.com/docs/en/sql-reference/statements/misc

It indexes "miscellaneous" SQL statements but these are already easily
reachable by the sidebar.
2022-10-07 14:37:22 +00:00
Alexander Tokmakov
ec2bca51ca Merge branch 'master' into improve_replica_recovery 2022-10-07 16:35:57 +02:00
Alexander Tokmakov
cfc118fd0b
Merge pull request #42150 from ClickHouse/revert_41535
Revert "Resurrect parallel distributed insert select with s3Cluster
2022-10-07 17:30:42 +03:00
Robert Schulze
609ea42481
Merge pull request #42086 from ClickHouse/docs-remove-misc-statements
Docs: Preparations to remove misc statements page
2022-10-07 16:18:41 +02:00
Alexander Tokmakov
052b458e92
Merge pull request #42148 from ClickHouse/tylerhannan-readme-update
Update README.md
2022-10-07 16:54:27 +03: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
Tyler Hannan
72c52e6b07
Update README.md
Add 22.10, add Cloud webinar, remove 22.9 and completed US meeetup
2022-10-07 15:28:17 +02:00
Robert Schulze
e759a64d38
Docs: Redirect links to misc.md
--> https://clickhouse.com/docs/en/sql-reference/statements/misc

This page indexes a bunch of SQL statements but they are easily
reachable by the sidebar already.
2022-10-07 13:22:40 +00: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
Raúl Marín
5d9c4a39c0 Update comment 2022-10-07 14:06:28 +02:00
Yatsishin Ilya
81aec3c340 Grouping sets, rollup, cube, totals can be only with GROUP BY 2022-10-07 11:39:47 +00:00
Nikolai Kochetov
984fe4f058 Add test. 2022-10-07 10:28:15 +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
Raúl Marín
62599e3901 Simpler macro 2022-10-07 11:14:35 +02:00
Maksim Kita
4eb29f7428 Updated submodule 2022-10-07 10:55:08 +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
Yakov Olkhovskiy
fc1de0a56a move some functionality to Server::buildProtocolStackFromConfig 2022-10-07 01:10:33 +00:00
Alexey Milovidov
03be5ffab7
Merge pull request #42079 from aerosol/patch-1
Fix tag mismatch in sample users config
2022-10-07 01:20:13 +03:00
Nikolai Kochetov
e3f341e978 Added test. 2022-10-06 20:02:23 +00:00
Alexander Tokmakov
bb78bf1c70 improve replica recovery 2022-10-06 21:09:12 +02:00
Dan Roscigno
104b751e51
Merge pull request #42132 from ClickHouse/DanRoscigno-patch-2
Update codespell-ignore-words.list
2022-10-06 14:49:18 -04:00
DanRoscigno
700deb152f add toolchain to ignore 2022-10-06 14:47:12 -04:00
Dan Roscigno
ef62f32dd0
Update codespell-ignore-words.list 2022-10-06 14:42:42 -04: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
Nikolay Degterinsky
522948fa2a
Merge branch 'master' into patch-1 2022-10-06 17:47:36 +02:00
Nikolay Degterinsky
80aac4ced7
Merge pull request #42124 from jus1096/master
add %z offset
2022-10-06 17:47:10 +02:00