[refactor](column) remove unused method and column definitions (#25152)
remove unused method and column definitions using primitive type in predicate column to check datev1 and datev2
This commit is contained in:
@ -505,33 +505,6 @@ void ColumnString::resize(size_t n) {
|
||||
}
|
||||
}
|
||||
|
||||
void ColumnString::get_extremes(Field& min, Field& max) const {
|
||||
min = String();
|
||||
max = String();
|
||||
|
||||
size_t col_size = size();
|
||||
|
||||
if (col_size == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
size_t min_idx = 0;
|
||||
size_t max_idx = 0;
|
||||
|
||||
less<true> less_op(*this);
|
||||
|
||||
for (size_t i = 1; i < col_size; ++i) {
|
||||
if (less_op(i, min_idx)) {
|
||||
min_idx = i;
|
||||
} else if (less_op(max_idx, i)) {
|
||||
max_idx = i;
|
||||
}
|
||||
}
|
||||
|
||||
get(min_idx, min);
|
||||
get(max_idx, max);
|
||||
}
|
||||
|
||||
void ColumnString::sort_column(const ColumnSorter* sorter, EqualFlags& flags,
|
||||
IColumn::Permutation& perms, EqualRange& range,
|
||||
bool last_column) const {
|
||||
|
||||
Reference in New Issue
Block a user