mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
delete
This commit is contained in:
parent
d58a8c98aa
commit
ded35fe5b0
@ -230,16 +230,8 @@ void TableJoin::addJoinedColumn(const NameAndTypePair & joined_column)
|
|||||||
void TableJoin::addJoinedColumnsAndCorrectNullability(ColumnsWithTypeAndName & columns) const
|
void TableJoin::addJoinedColumnsAndCorrectNullability(ColumnsWithTypeAndName & columns) const
|
||||||
{
|
{
|
||||||
for (auto & col : columns)
|
for (auto & col : columns)
|
||||||
{
|
|
||||||
/// Materialize column.
|
|
||||||
/// Column is not empty if it is constant, but after Join all constants will be materialized.
|
|
||||||
/// So, we need remove constants from header.
|
|
||||||
// if (col.column)
|
|
||||||
// col.column = nullptr;
|
|
||||||
|
|
||||||
if (leftBecomeNullable(col.type))
|
if (leftBecomeNullable(col.type))
|
||||||
col.type = makeNullable(col.type);
|
col.type = makeNullable(col.type);
|
||||||
}
|
|
||||||
|
|
||||||
for (const auto & col : columns_added_by_join)
|
for (const auto & col : columns_added_by_join)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user