mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Non significant modifications [#CLICKHOUSE-3].
This commit is contained in:
parent
6d77c54e12
commit
153693cd4c
@ -305,12 +305,13 @@ size_t MergeTreeDataPart::getColumnUncompressedSize(const String & name) const
|
||||
|
||||
|
||||
/** Returns the name of a column with minimum compressed size (as returned by getColumnSize()).
|
||||
* If no checksums are present returns the name of the first physically existing column. */
|
||||
* If no checksums are present returns the name of the first physically existing column.
|
||||
*/
|
||||
String MergeTreeDataPart::getColumnNameWithMinumumCompressedSize() const
|
||||
{
|
||||
const auto & columns = storage.getColumnsList();
|
||||
const std::string * minimum_size_column = nullptr;
|
||||
auto minimum_size = std::numeric_limits<size_t>::max();
|
||||
size_t minimum_size = std::numeric_limits<size_t>::max();
|
||||
|
||||
for (const auto & column : columns)
|
||||
{
|
||||
|
@ -433,9 +433,9 @@ void MergeTreeReader::addStream(const String & name, const IDataType & type, con
|
||||
|
||||
|
||||
void MergeTreeReader::readData(
|
||||
const String & name, const IDataType & type, IColumn & column,
|
||||
size_t from_mark, size_t max_rows_to_read,
|
||||
size_t level, bool read_offsets)
|
||||
const String & name, const IDataType & type, IColumn & column,
|
||||
size_t from_mark, size_t max_rows_to_read,
|
||||
size_t level, bool read_offsets)
|
||||
{
|
||||
if (type.isNullable())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user