You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/05/16 14:36:22 UTC
[incubator-doris] branch master updated: [chore] Fix compilation errors reported by clang (#9584)
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/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 5660815dc6 [chore] Fix compilation errors reported by clang (#9584)
5660815dc6 is described below
commit 5660815dc6a1f954cb9179008a81e70095b94cb0
Author: Adonis Ling <ad...@gmail.com>
AuthorDate: Mon May 16 22:36:16 2022 +0800
[chore] Fix compilation errors reported by clang (#9584)
---
be/src/vec/exec/vjson_scanner.cpp | 2 --
be/src/vec/exec/vjson_scanner.h | 16 +++++-----------
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/be/src/vec/exec/vjson_scanner.cpp b/be/src/vec/exec/vjson_scanner.cpp
index b46d16e80e..b7645fecf3 100644
--- a/be/src/vec/exec/vjson_scanner.cpp
+++ b/be/src/vec/exec/vjson_scanner.cpp
@@ -44,8 +44,6 @@ VJsonScanner::VJsonScanner(RuntimeState* state, RuntimeProfile* profile,
: JsonScanner(state, profile, params, ranges, broker_addresses, pre_filter_texprs, counter),
_cur_vjson_reader(nullptr) {}
-VJsonScanner::~VJsonScanner() {}
-
Status VJsonScanner::get_next(vectorized::Block* output_block, bool* eof) {
SCOPED_TIMER(_read_timer);
const int batch_size = _state->batch_size();
diff --git a/be/src/vec/exec/vjson_scanner.h b/be/src/vec/exec/vjson_scanner.h
index 0da3b96710..591ddc2ac2 100644
--- a/be/src/vec/exec/vjson_scanner.h
+++ b/be/src/vec/exec/vjson_scanner.h
@@ -15,8 +15,7 @@
// specific language governing permissions and limitations
// under the License.
-#ifndef BE_SRC_VJSON_SCANNER_H_
-#define BE_SRC_VJSON_SCANNER_H_
+#pragma once
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
@@ -32,14 +31,8 @@
#include "common/status.h"
#include "exec/base_scanner.h"
-#include "exec/exec_node.h"
#include "exec/json_scanner.h"
-#include "exprs/expr_context.h"
#include "runtime/descriptors.h"
-#include "runtime/mem_pool.h"
-#include "runtime/mem_tracker.h"
-#include "runtime/row_batch.h"
-#include "runtime/tuple.h"
#include "util/runtime_profile.h"
namespace doris {
@@ -55,8 +48,10 @@ public:
const std::vector<TNetworkAddress>& broker_addresses,
const std::vector<TExpr>& pre_filter_texprs, ScannerCounter* counter);
- ~VJsonScanner();
-
+ Status get_next(doris::Tuple* tuple, MemPool* tuple_pool, bool* eof,
+ bool* fill_tuple) override {
+ return Status::NotSupported("Not Implemented get tuple");
+ }
Status get_next(vectorized::Block* output_block, bool* eof) override;
private:
@@ -117,4 +112,3 @@ private:
} // namespace vectorized
} // namespace doris
-#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org