mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Miscellaneous [#CLICKHOUSE-2].
This commit is contained in:
parent
4c0a0d07e9
commit
b0b7f1b161
@ -17,6 +17,14 @@ namespace ProfileEvents
|
||||
namespace DB
|
||||
{
|
||||
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int NETWORK_ERROR;
|
||||
extern const int SOCKET_TIMEOUT;
|
||||
extern const int LOGICAL_ERROR;
|
||||
}
|
||||
|
||||
|
||||
ConnectionPoolWithFailover::ConnectionPoolWithFailover(
|
||||
ConnectionPoolPtrs nested_pools_,
|
||||
LoadBalancing load_balancing,
|
||||
|
@ -7,13 +7,6 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
namespace ErrorCodes
|
||||
{
|
||||
extern const int NETWORK_ERROR;
|
||||
extern const int SOCKET_TIMEOUT;
|
||||
extern const int LOGICAL_ERROR;
|
||||
}
|
||||
|
||||
/** Connection pool with fault tolerance.
|
||||
* Initialized by several other IConnectionPools.
|
||||
* When a connection is received, it tries to create or select a live connection from a pool,
|
||||
|
@ -10,7 +10,7 @@ namespace DB
|
||||
* To get the table structure, a DESC TABLE request is made to the remote server.
|
||||
* For example
|
||||
* SELECT count() FROM remote('example01-01-1', merge, hits) - go to `example01-01-1`, in the merge database, the hits table.
|
||||
* An expression that generates a lot of shards and replicas can also be specified as the host name - see below.
|
||||
* An expression that generates a set of shards and replicas can also be specified as the host name - see below.
|
||||
*/
|
||||
class TableFunctionRemote : public ITableFunction
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user