ClickHouse/src/TableFunctions/parseColumnsListForTableFunction.h

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);
}