mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-06 00:20:51 +00:00
fcdd5de47d
This reverts commit fcabe8b888
.
21 lines
409 B
C++
21 lines
409 B
C++
#pragma once
|
|
|
|
#include <Core/NamesAndTypes.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Cluster;
|
|
class Context;
|
|
|
|
/// Find the names and types of the table columns on any server in the cluster.
|
|
/// Used to implement the `remote` table function and others.
|
|
NamesAndTypesList getStructureOfRemoteTable(
|
|
const Cluster & cluster,
|
|
const std::string & database,
|
|
const std::string & table,
|
|
const Context & context);
|
|
|
|
}
|