Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bench_dbms compile failed #7924

Closed
guo-shaoge opened this issue Aug 10, 2023 · 1 comment · Fixed by #8194
Closed

bench_dbms compile failed #7924

guo-shaoge opened this issue Aug 10, 2023 · 1 comment · Fixed by #8194
Labels

Comments

@guo-shaoge
Copy link
Contributor

guo-shaoge commented Aug 10, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

build tiflash gtest benchmark

make bench_dbms

2. What did you expect to see? (Required)

build ok

3. What did you see instead (Required)

/home/guojiangtao/work/tiflash/dbms/src/Functions/tests/bench_function_least.cpp:276:9: error: no matching function for call to 'executeFunction'
        executeFunction(context, func_name, col1, col2, col3);
        ^~~~~~~~~~~~~~~
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:608:23: note: candidate function not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(
                      ^
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:616:23: note: candidate function not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(
                      ^
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:626:23: note: candidate function template not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(
                      ^
/home/guojiangtao/work/tiflash/dbms/src/Functions/tests/bench_function_least.cpp:290:9: error: no matching function for call to 'executeFunction'
        executeFunction(context, func_name, col1, col2);
        ^~~~~~~~~~~~~~~
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:626:23: note: candidate function template not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(
                      ^
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:608:23: note: candidate function not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(
                      ^
/home/guojiangtao/work/tiflash/dbms/src/TestUtils/FunctionTestUtils.h:616:23: note: candidate function not viable: no known conversion from 'DB::ContextPtr' (aka 'shared_ptr<DB::Context>') to 'DB::Context &' for 1st argument
ColumnWithTypeAndName executeFunction(

4. What is your TiFlash version? (Required)

master(8427604)

@guo-shaoge guo-shaoge added the type/bug The issue is confirmed as a bug. label Aug 10, 2023
@guo-shaoge
Copy link
Contributor Author

guo-shaoge commented Aug 10, 2023

Because ci didn't include building bench_dbms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants