1 | #pragma once |
---|---|
2 | |
3 | #include <unordered_map> |
4 | #include <string> |
5 | |
6 | |
7 | namespace DB |
8 | { |
9 | |
10 | class Block; |
11 | class Context; |
12 | class NamesAndTypesList; |
13 | struct ColumnDefault; |
14 | |
15 | void evaluateMissingDefaults(Block & block, |
16 | const NamesAndTypesList & required_columns, |
17 | const std::unordered_map<std::string, ColumnDefault> & column_defaults, |
18 | const Context & context, bool save_unneeded_columns = true); |
19 | |
20 | } |
21 |