Optimize add row in aggregate
This commit is contained in:
@ -187,7 +187,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename ColumnFmt>
|
||||
inline int add_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
OB_INLINE int add_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
const int32_t agg_col_id, char *aggr_cell, void *tmp_res, int64_t &calc_info)
|
||||
{
|
||||
UNUSEDx(agg_ctx, columns, row_num, agg_col_id, aggr_cell, tmp_res, calc_info);
|
||||
@ -196,7 +196,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename ColumnFmt>
|
||||
inline int add_nullable_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
OB_INLINE int add_nullable_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
const int32_t agg_col_id, char *agg_cell, void *tmp_res,
|
||||
int64_t &calc_info)
|
||||
{
|
||||
@ -227,7 +227,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename ColumnFmt>
|
||||
int add_or_sub_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
OB_INLINE int add_or_sub_row(RuntimeContext &agg_ctx, ColumnFmt &columns, const int32_t row_num,
|
||||
const int32_t agg_col_id, char *agg_cell, void *tmp_res, int64_t &calc_info)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user