Fixed error [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-06-23 09:11:00 +03:00
parent d51245809f
commit 7f48f1a7f5

View File

@ -12,7 +12,8 @@ namespace DB
/// - if a target column is nullable while the corresponding source
/// column is not, we embed the source column into a nullable column;
/// - if a source column is nullable while the corresponding target
/// column is not, we extract the nested column from the source; /// TODO Probably this is totally incorrect.
/// column is not, we extract the nested column from the source
/// while checking that is doesn't actually contain NULLs;
/// - otherwise we just perform an identity mapping.
class NullableAdapterBlockInputStream : public IProfilingBlockInputStream
{
@ -53,7 +54,7 @@ private:
private:
Actions actions;
std::vector<std::experimental::optional<String>> rename;
bool must_transform;
bool must_transform = false;
};
}