This is an automated email from the ASF dual-hosted git repository.
morningman 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 f90a1a1919 [fix](ut)(compile) Fix ut failure at functions_geo and
compilation bug (#8843)
f90a1a1919 is described below
commit f90a1a1919b46fb46ba89f054dce4cd2c2e5439c
Author: Xinyi Zou <[email protected]>
AuthorDate: Tue Apr 5 21:30:40 2022 +0800
[fix](ut)(compile) Fix ut failure at functions_geo and compilation bug
(#8843)
---
be/src/exec/tablet_sink.cpp | 1 -
be/src/vec/functions/functions_geo.h | 2 +-
be/test/geo/geo_functions_test.cpp | 1 +
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/exec/tablet_sink.cpp b/be/src/exec/tablet_sink.cpp
index 2cfbbb6840..96ffd04bbd 100644
--- a/be/src/exec/tablet_sink.cpp
+++ b/be/src/exec/tablet_sink.cpp
@@ -551,7 +551,6 @@ void NodeChannel::try_send_batch(RuntimeState* state) {
ReusableClosure<PTabletWriterAddBatchResult>>(
&request, _tuple_data_buffer, _add_batch_closure);
}
- _add_batch_closure->set_in_flight();
_stub->tablet_writer_add_batch(&_add_batch_closure->cntl, &request,
&_add_batch_closure->result,
_add_batch_closure);
diff --git a/be/src/vec/functions/functions_geo.h
b/be/src/vec/functions/functions_geo.h
index 91d0f9c013..4533adb6bc 100644
--- a/be/src/vec/functions/functions_geo.h
+++ b/be/src/vec/functions/functions_geo.h
@@ -41,7 +41,7 @@ public:
bool use_default_implementation_for_constants() const override { return
true; }
Status execute_impl(FunctionContext* context, Block& block, const
ColumnNumbers& arguments,
- size_t result, size_t input_rows_count) {
+ size_t result, size_t input_rows_count) override {
return Impl::execute(block, arguments, result);
}
};
diff --git a/be/test/geo/geo_functions_test.cpp
b/be/test/geo/geo_functions_test.cpp
index 74eba9dc10..9145a9a924 100644
--- a/be/test/geo/geo_functions_test.cpp
+++ b/be/test/geo/geo_functions_test.cpp
@@ -18,6 +18,7 @@
#include "geo/geo_functions.h"
#include <gtest/gtest.h>
+#include <s2/s2polygon.h>
#include <vector>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]