mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Some fixes
This commit is contained in:
parent
09e57eb0ee
commit
ef5162e2e3
@ -1206,7 +1206,7 @@ void MergeTreeData::createConvertExpression(const DataPartPtr & part, const Name
|
||||
if (!new_types.count(column.name))
|
||||
{
|
||||
/// The column was deleted.
|
||||
if (!part || part->hasColumnFiles(column.name))
|
||||
if (part && part->hasColumnFiles(column.name))
|
||||
{
|
||||
column.type->enumerateStreams([&](const IDataType::SubstreamPath & substream_path)
|
||||
{
|
||||
|
@ -1046,7 +1046,7 @@ MergeTreeDataMergerMutator::MergeAlgorithm MergeTreeDataMergerMutator::chooseMer
|
||||
const NamesAndTypesList & gathering_columns, bool deduplicate) const
|
||||
{
|
||||
/// TODO(alesap) remove me
|
||||
return MergeAlgorithm::Vertical;
|
||||
///return MergeAlgorithm::Vertical;
|
||||
if (deduplicate)
|
||||
return MergeAlgorithm::Horizontal;
|
||||
if (data.settings.enable_vertical_merge_algorithm == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user