Merge pull request #9916 from CurtizJ/fix-marks-count

Fix marks count for non-adaptive parts
This commit is contained in:
alexey-milovidov 2020-03-29 04:39:43 +03:00 committed by GitHub
commit fdc00fd63a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,8 +406,8 @@ void IMergeTreeDataPart::loadColumnsChecksumsIndexes(bool require_columns_checks
loadColumns(require_columns_checksums); loadColumns(require_columns_checksums);
loadChecksums(require_columns_checksums); loadChecksums(require_columns_checksums);
calculateColumnsSizesOnDisk();
loadIndexGranularity(); loadIndexGranularity();
calculateColumnsSizesOnDisk();
loadIndex(); /// Must be called after loadIndexGranularity as it uses the value of `index_granularity` loadIndex(); /// Must be called after loadIndexGranularity as it uses the value of `index_granularity`
loadRowsCount(); /// Must be called after loadIndex() as it uses the value of `index_granularity`. loadRowsCount(); /// Must be called after loadIndex() as it uses the value of `index_granularity`.
loadPartitionAndMinMaxIndex(); loadPartitionAndMinMaxIndex();