mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 02:12:21 +00:00
18 lines
415 B
C++
18 lines
415 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <Storages/ColumnsDescription.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Context;
|
|
|
|
/// Parses a common argument for table functions such as table structure given in string
|
|
ColumnsDescription parseColumnsListFromString(const std::string & structure, ContextPtr context);
|
|
|
|
bool tryParseColumnsListFromString(const std::string & structure, ColumnsDescription & columns, ContextPtr context);
|
|
|
|
}
|