github-actions[bot] commented on code in PR #15767:
URL: https://github.com/apache/doris/pull/15767#discussion_r1065511817


##########
be/test/exprs/binary_predicate_test.cpp:
##########
@@ -24,7 +24,6 @@
 #include "exprs/expr.h"
 #include "exprs/int_literal.h"

Review Comment:
   warning: 'exprs/int_literal.h' file not found [clang-diagnostic-error]
   ```cpp
   #include "exprs/int_literal.h"
            ^
   ```
   



##########
be/test/vec/exprs/vexpr_test.cpp:
##########
@@ -48,24 +47,13 @@ TEST(TEST_VEXPR, ABSTEST) {
 
     auto tuple_desc = 
const_cast<doris::TupleDescriptor*>(desc_tbl->get_tuple_descriptor(0));
     doris::RowDescriptor row_desc(tuple_desc, false);
-    doris::RowBatch row_batch(row_desc, 1024);
     std::string expr_json =
             
R"|({"1":{"lst":["rec",2,{"1":{"i32":20},"2":{"rec":{"1":{"lst":["rec",1,{"1":{"i32":0},"2":{"rec":{"1":{"i32":6}}}}]}}},"4":{"i32":1},"20":{"i32":-1},"26":{"rec":{"1":{"rec":{"2":{"str":"abs"}}},"2":{"i32":0},"3":{"lst":["rec",1,{"1":{"lst":["rec",1,{"1":{"i32":0},"2":{"rec":{"1":{"i32":5}}}}]}}]},"4":{"rec":{"1":{"lst":["rec",1,{"1":{"i32":0},"2":{"rec":{"1":{"i32":6}}}}]}}},"5":{"tf":0},"7":{"str":"abs(INT)"},"9":{"rec":{"1":{"str":"_ZN5doris13MathFunctions3absEPN9doris_udf15FunctionContextERKNS1_6IntValE"}}},"11":{"i64":0}}}},{"1":{"i32":16},"2":{"rec":{"1":{"lst":["rec",1,{"1":{"i32":0},"2":{"rec":{"1":{"i32":5}}}}]}}},"4":{"i32":0},"15":{"rec":{"1":{"i32":0},"2":{"i32":0}}},"20":{"i32":-1},"23":{"i32":-1}}]}})|";
     doris::TExpr exprx = 
apache::thrift::from_json_string<doris::TExpr>(expr_json);
     doris::vectorized::VExprContext* context = nullptr;
     doris::vectorized::VExpr::create_expr_tree(&object_pool, exprx, &context);
 
     int32_t k1 = -100;

Review Comment:
   warning: unused variable 'k1' [clang-diagnostic-unused-variable]
   ```cpp
       int32_t k1 = -100;
               ^
   ```
   



##########
be/test/exprs/in_op_test.cpp:
##########
@@ -23,7 +23,6 @@
 #include "exprs/in_predicate.h"
 #include "exprs/int_literal.h"

Review Comment:
   warning: 'exprs/int_literal.h' file not found [clang-diagnostic-error]
   ```cpp
   #include "exprs/int_literal.h"
            ^
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to