Skip to content

Commit

Permalink
move template
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Aug 26, 2024
1 parent d495ef5 commit 0af3dfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
11 changes: 9 additions & 2 deletions src/include/duckdb/storage/statistics/base_statistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
#pragma once

#include "duckdb/common/common.hpp"
#include "duckdb/common/types.hpp"
#include "duckdb/common/operator/comparison_operators.hpp"
#include "duckdb/common/enums/expression_type.hpp"
#include "duckdb/common/operator/comparison_operators.hpp"
#include "duckdb/common/types.hpp"
#include "duckdb/common/types/value.hpp"
#include "duckdb/storage/statistics/numeric_stats.hpp"
#include "duckdb/storage/statistics/string_stats.hpp"
Expand Down Expand Up @@ -151,4 +151,11 @@ class BaseStatistics {
unsafe_unique_array<BaseStatistics> child_stats;
};

template <>
inline void BaseStatistics::UpdateNumericStats<interval_t>(interval_t new_value) {
}
template <>
inline void BaseStatistics::UpdateNumericStats<list_entry_t>(list_entry_t new_value) {
}

} // namespace duckdb
7 changes: 0 additions & 7 deletions src/include/duckdb/storage/statistics/numeric_stats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,4 @@ struct NumericStats {
static void TemplatedVerify(const BaseStatistics &stats, Vector &vector, const SelectionVector &sel, idx_t count);
};

template <>
inline void NumericStats::Update<interval_t>(NumericStatsData &nstats, interval_t new_value) {
}
template <>
inline void NumericStats::Update<list_entry_t>(NumericStatsData &nstats, list_entry_t new_value) {
}

} // namespace duckdb

0 comments on commit 0af3dfc

Please sign in to comment.