fix pvs check

This commit is contained in:
filipe 2020-10-08 20:14:54 -03:00
parent 0436e0f8f1
commit 3861a03927

View File

@ -455,9 +455,6 @@ private:
const ColumnConst * maximum_unit_const_col = checkAndGetColumnConstStringOrFixedString(maximum_unit_column.get());
if (maximum_unit_const_col)
maximum_unit = maximum_unit_const_col->getValue<String>();
else
throw Exception(
"Illegal column " + maximum_unit_const_col->getName() + " of argument of function " + getName(), ErrorCodes::ILLEGAL_COLUMN);
}
if (const ColumnVector<T> * col_from = checkAndGetColumn<ColumnVector<T>>(block.getByPosition(arguments[0]).column.get()))
@ -484,7 +481,6 @@ private:
block.getByPosition(result).column = std::move(col_to);
return true;
}
return false;
}
};