Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion be/src/olap/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ class ColumnSchema {

// data of Hyperloglog type will call this function.
void finalize(void* data) const {
_agg_info->finalize(data, nullptr);
// NOTE(zc): Currently skip null byte, this is different with update interface
// we should unify this
_agg_info->finalize((char*)data + 1, nullptr);
}

int size() const { return _type_info->size(); }
Expand Down