mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
Fixed error [#CLICKHOUSE-2].
This commit is contained in:
parent
d51245809f
commit
7f48f1a7f5
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user