pingcap / pingcap/tiflash

Fix Microbenchmark Test

Open
#5,180 1 comment 0 reactions 1 assignee View on GitHub

@ywqzzy is already working on this.

Since Jun 21, 2022.

component/compute severity/moderate type/bug
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

make bench_dbms and then run bench_dbms.

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

bench_dbms run successfully.

3. What did you see instead (Required)

image

Code: 0. DB::Exception: Unsupported function tidbRowbasedGreatest

Stack trace:

 0x1097b3360	StackTrace::StackTrace() [bench_dbms+4372067168]
 0x1096a7e30	DB::reverseGetFuncSigByFuncName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [bench_dbms+4370972208]
 0x1060f03d0	DB::tests::columnsToTiPBExpr(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&, std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, TiDB::ITiDBCollator const* const&) [bench_dbms+4314645456]
 0x1060f5424	DB::tests::buildFunction(DB::Context&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&, std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, TiDB::ITiDBCollator const* const&) [bench_dbms+4314666020]
 0x1060f61a8	DB::tests::executeFunction(DB::Context&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&, std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, TiDB::ITiDBCollator const* const&, bool) [bench_dbms+4314669480]
 0x1060f5f10	DB::tests::executeFunction(DB::Context&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, TiDB::ITiDBCollator const* const&, bool) [bench_dbms+4314668816]
 0x104eb7490	DB::ColumnWithTypeAndName DB::tests::executeFunction<DB::ColumnWithTypeAndName, DB::ColumnWithTypeAndName>(DB::Context&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) [bench_dbms+4295537808]
 0x104eb868c	DB::tests::LeastBench_benchNormal_Benchmark::BenchmarkCase(benchmark::State&) [bench_dbms+4295542412]
 0x104e32340	benchmark::Fixture::Run(benchmark::State&) [bench_dbms+4294992704]
 0x1061101cc	benchmark::internal::BenchmarkInstance::Run(unsigned long long, int, benchmark::internal::ThreadTimer*, benchmark::internal::ThreadManager*, benchmark::internal::PerfCountersMeasurement*) const [bench_dbms+4314776012]
 0x1061204cc	benchmark::internal::(anonymous namespace)::RunInThread(benchmark::internal::BenchmarkInstance const*, unsigned long long, int, benchmark::internal::ThreadManager*, benchmark::internal::PerfCountersMeasurement*) [bench_dbms+4314842316]
 0x10612000c	benchmark::internal::BenchmarkRunner::DoNIterations() [bench_dbms+4314841100]
 0x1061209ec	benchmark::internal::BenchmarkRunner::DoOneRepetition() [bench_dbms+4314843628]
 0x10610c6cc	benchmark::RunSpecifiedBenchmarks(benchmark::BenchmarkReporter*, benchmark::BenchmarkReporter*) [bench_dbms+4314760908]
 0x10511c3ac	_main [bench_dbms+4298048428]
 0x10f4890f4	<unknown symbol>

libc++abi: terminating with uncaught exception of type DB::Exception: DB::Exception

4. What is your TiFlash version? (Required)

v6.1.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.