This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit 89289548659b45172eca736b271187c100b590a6
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/vec/functions/functions_geo.h | 2 +-
 be/test/geo/geo_functions_test.cpp   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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]

Reply via email to