kangkaisen opened a new issue #346: BE olap_common_test couldn't run URL: https://github.com/apache/incubator-doris/issues/346 When I try running the olap_common_test, there are a lot of compiling errors. I found recently some commits didn't update olap_common_test at the same time. We should make olap_common_test run successfully ``` ^~~~~~ /home/kangkaisen/palo/be/test/exec/olap_common_test.cpp: In function ‘void doris::construct_scan_range(doris::TPaloScanRange*)’: /home/kangkaisen/palo/be/test/exec/olap_common_test.cpp:44:23: error: ‘class doris::TPaloScanRange’ has no member named ‘engine_table_name’; did you mean ‘__set_table_name’? doris_scan_range->engine_table_name.push_back("ShowQStats"); ^~~~~~~~~~~~~~~~~ __set_table_name /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest_pred_impl.h:166:3: note: in expansion of macro ‘GTEST_PRED_FORMAT2_ ’ GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest.h:1938:3: note: in expansion of macro ‘ASSERT_PRED_FORMAT2’ ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest.h:1956:32: note: in expansion of macro ‘GTEST_ASSERT_EQ’ # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ^~~~~~~~~~~~~~~ /home/kangkaisen/palo/be/test/exec/olap_common_test.cpp:462:5: note: in expansion of macro ‘ASSERT_EQ’ ASSERT_EQ(OlapScanKeys::to_print_key(key_range[4].end_scan_range), "1,1,2147483647"); ^ /home/kangkaisen/palo/be/test/exec/olap_common_test.cpp:462:29: error: ‘to_print_key’ is not a member of ‘doris::OlapScanKeys’ ASSERT_EQ(OlapScanKeys::to_print_key(key_range[4].end_scan_range), "1,1,2147483647"); ^ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest_pred_impl.h:77:52: note: in definition of macro ‘GTEST_ASSERT_’ if (const ::testing::AssertionResult gtest_ar = (expression)) \ ^~~~~~~~~~ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest_pred_impl.h:166:3: note: in expansion of macro ‘GTEST_PRED_FORMAT2_ ’ GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_) ^~~~~~~~~~~~~~~~~~~ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest.h:1938:3: note: in expansion of macro ‘ASSERT_PRED_FORMAT2’ ASSERT_PRED_FORMAT2(::testing::internal:: \ ^~~~~~~~~~~~~~~~~~~ /home/kangkaisen/palo/thirdparty/installed/include/gtest/gtest.h:1956:32: note: in expansion of macro ‘GTEST_ASSERT_EQ’ # define ASSERT_EQ(val1, val2) GTEST_ASSERT_EQ(val1, val2) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
