chaoyli commented on a change in pull request #1515: Add storage rowwise
iterator
URL: https://github.com/apache/incubator-doris/pull/1515#discussion_r305621204
##########
File path: be/src/olap/types.h
##########
@@ -33,54 +33,60 @@
#include "util/mem_util.hpp"
#include "util/slice.h"
#include "util/types.h"
+#include "util/arena.h"
namespace doris {
class TypeInfo {
public:
- inline bool equal(const char* left, const char* right) const {
+ inline bool equal(const void* left, const void* right) const {
return _equal(left, right);
}
- inline int cmp(const char* left, const char* right) const {
+ inline int cmp(const void* left, const void* right) const {
return _cmp(left, right);
}
- inline void copy_with_pool(char* dest, const char* src, MemPool* mem_pool)
{
+ inline void copy_with_pool(void* dest, const void* src, MemPool* mem_pool)
const {
Review comment:
If all use RowBlockRow, copy_with_pool is useless.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]