ClickHouse/dbms/include/DB/Interpreters/evaluateMissingDefaults.h

21 lines
343 B
C++
Raw Normal View History

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