2014-10-23 13:53:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
2016-01-13 00:32:59 +00:00
|
|
|
#include <unordered_map>
|
2016-08-15 19:41:44 +00:00
|
|
|
#include <string>
|
2014-10-23 13:53:16 +00:00
|
|
|
|
|
|
|
|
2016-01-13 00:32:59 +00:00
|
|
|
namespace DB
|
2014-10-23 13:53:16 +00:00
|
|
|
{
|
|
|
|
|
2016-01-13 00:32:59 +00:00
|
|
|
class Block;
|
|
|
|
class Context;
|
|
|
|
class NamesAndTypesList;
|
|
|
|
struct ColumnDefault;
|
2014-10-23 13:53:16 +00:00
|
|
|
|
2016-01-13 00:32:59 +00:00
|
|
|
void evaluateMissingDefaults(Block & block,
|
2017-03-09 04:26:17 +00:00
|
|
|
const NamesAndTypesList & required_columns,
|
2016-08-15 19:41:44 +00:00
|
|
|
const std::unordered_map<std::string, ColumnDefault> & column_defaults,
|
2016-01-13 00:32:59 +00:00
|
|
|
const Context & context);
|
2014-10-23 13:53:16 +00:00
|
|
|
|
|
|
|
}
|