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