mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
21 lines
387 B
C++
21 lines
387 B
C++
#pragma once
|
|
|
|
#include <unordered_map>
|
|
#include <string>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class Block;
|
|
class Context;
|
|
class NamesAndTypesList;
|
|
struct ColumnDefault;
|
|
|
|
void evaluateMissingDefaults(Block & block,
|
|
const NamesAndTypesList & required_columns,
|
|
const std::unordered_map<std::string, ColumnDefault> & column_defaults,
|
|
const Context & context, bool save_unneeded_columns = true);
|
|
|
|
}
|