use uint64 for total_row_count

This commit is contained in:
JackyWoo 2024-09-13 13:40:31 +08:00
parent e2a18f70ed
commit 620387fc5c

View File

@ -106,11 +106,11 @@ public:
void merge(const Statistics & other);
void addColumnStat(const ColumnStatisticsPtr & column_stat_);
Float64 getTotalRowCount() const { return total_row_count; }
UInt64 getTotalRowCount() const { return total_row_count; }
ColumnStatisticsPtr getColumnStat(const String & column_name) const;
private:
Float64 total_row_count;
UInt64 total_row_count;
/// column_name -> column_statistics
std::unordered_map<String, ColumnStatisticsPtr> column_stats;
};