You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2019/09/30 07:25:15 UTC
[incubator-doris] branch master updated: Remove unused
_request_columns_size from olap_scanner (#1916)
This is an automated email from the ASF dual-hosted git repository.
zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 69d0a34 Remove unused _request_columns_size from olap_scanner (#1916)
69d0a34 is described below
commit 69d0a34bfde4089e8c37aef71f26c9a952ea84a3
Author: kangkaisen <ka...@apache.org>
AuthorDate: Mon Sep 30 15:25:10 2019 +0800
Remove unused _request_columns_size from olap_scanner (#1916)
---
be/src/exec/olap_scanner.cpp | 8 --------
be/src/exec/olap_scanner.h | 2 --
2 files changed, 10 deletions(-)
diff --git a/be/src/exec/olap_scanner.cpp b/be/src/exec/olap_scanner.cpp
index a1fdd6a..79a41a9 100644
--- a/be/src/exec/olap_scanner.cpp
+++ b/be/src/exec/olap_scanner.cpp
@@ -236,14 +236,6 @@ Status OlapScanner::_init_return_columns() {
return Status::InternalError(ss.str());
}
_return_columns.push_back(index);
- const TabletColumn& column = _tablet->tablet_schema().column(index);
- if (column.type() == OLAP_FIELD_TYPE_VARCHAR ||
- column.type() == OLAP_FIELD_TYPE_HLL) {
- _request_columns_size.push_back(
- column.length() - sizeof(StringLengthType));
- } else {
- _request_columns_size.push_back(column.length());
- }
_query_slots.push_back(slot);
}
if (_return_columns.empty()) {
diff --git a/be/src/exec/olap_scanner.h b/be/src/exec/olap_scanner.h
index b163518..395ca77 100644
--- a/be/src/exec/olap_scanner.h
+++ b/be/src/exec/olap_scanner.h
@@ -127,8 +127,6 @@ private:
RowCursor _read_row_cursor;
- std::vector<uint32_t> _request_columns_size;
-
std::vector<SlotDescriptor*> _query_slots;
// time costed and row returned statistics
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org