mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +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);
|
|
|
|
}
|