You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ga...@apache.org on 2022/12/20 05:06:46 UTC
[doris] branch master updated: [minor](non-vec) delete unused interface in RowBatch (#15186)
This is an automated email from the ASF dual-hosted git repository.
gabriellee 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 9d48154cdc [minor](non-vec) delete unused interface in RowBatch (#15186)
9d48154cdc is described below
commit 9d48154cdc164b88c19c6353496cd2834e9bcdb6
Author: zbtzbtzbt <35...@users.noreply.github.com>
AuthorDate: Tue Dec 20 13:06:34 2022 +0800
[minor](non-vec) delete unused interface in RowBatch (#15186)
---
be/src/runtime/row_batch.h | 3 +--
be/src/runtime/row_batch_interface.hpp | 27 ---------------------------
2 files changed, 1 insertion(+), 29 deletions(-)
diff --git a/be/src/runtime/row_batch.h b/be/src/runtime/row_batch.h
index d9d7f6be38..e73ee320c1 100644
--- a/be/src/runtime/row_batch.h
+++ b/be/src/runtime/row_batch.h
@@ -29,7 +29,6 @@
#include "runtime/descriptors.h"
#include "runtime/disk_io_mgr.h"
#include "runtime/mem_pool.h"
-#include "runtime/row_batch_interface.hpp"
namespace doris::vectorized {
class Block;
@@ -73,7 +72,7 @@ class PRowBatch;
// A row batch is considered at capacity if all the rows are full or it has accumulated
// auxiliary memory up to a soft cap. (See _at_capacity_mem_usage comment).
// TODO: stick _tuple_ptrs into a pool?
-class RowBatch : public RowBatchInterface {
+class RowBatch {
public:
/// Flag indicating whether the resources attached to a RowBatch need to be flushed.
/// Defined here as a convenience for other modules that need to communicate flushing
diff --git a/be/src/runtime/row_batch_interface.hpp b/be/src/runtime/row_batch_interface.hpp
deleted file mode 100644
index 323ead524e..0000000000
--- a/be/src/runtime/row_batch_interface.hpp
+++ /dev/null
@@ -1,27 +0,0 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-#pragma once
-
-namespace doris {
-
-class RowBatchInterface {
-public:
- virtual ~RowBatchInterface() {}
-};
-
-} // namespace doris
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org