This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 1ee6518e00 [fix](unique-key-merge-on-write) Types don't match when 
calling IndexedColumnIterator::seek_at_or_after (#13885)
1ee6518e00 is described below

commit 1ee6518e00f7a9c13f0d9f1a3884a55649bdf707
Author: Adonis Ling <adonis0...@gmail.com>
AuthorDate: Thu Nov 3 08:50:29 2022 +0800

    [fix](unique-key-merge-on-write) Types don't match when calling 
IndexedColumnIterator::seek_at_or_after (#13885)
---
 be/src/olap/rowset/segment_v2/indexed_column_reader.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/be/src/olap/rowset/segment_v2/indexed_column_reader.h 
b/be/src/olap/rowset/segment_v2/indexed_column_reader.h
index a991e8d4a8..3546fe728e 100644
--- a/be/src/olap/rowset/segment_v2/indexed_column_reader.h
+++ b/be/src/olap/rowset/segment_v2/indexed_column_reader.h
@@ -18,6 +18,7 @@
 #pragma once
 
 #include <memory>
+#include <string>
 
 #include "common/status.h"
 #include "env/env.h"
@@ -114,6 +115,10 @@ public:
     // Return NotFound if the given key is greater than all keys in this 
column.
     // Return NotSupported for column without value index.
     Status seek_at_or_after(const void* key, bool* exact_match);
+    Status seek_at_or_after(const std::string* key, bool* exact_match) {
+        Slice slice(key->data(), key->size());
+        return seek_at_or_after(static_cast<const void*>(&slice), exact_match);
+    }
 
     // Get the ordinal index that the iterator is currently pointed to.
     ordinal_t get_current_ordinal() const {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to