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

20 lines
323 B
C++
Raw Normal View History

#pragma once
2016-01-13 00:32:59 +00:00
#include <unordered_map>
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,
const NamesAndTypesList & required_columns,
const std::unordered_map<String, ColumnDefault> & column_defaults,
const Context & context);
}