Skip to content

Commit

Permalink
Merge branch 'master' into qualified_table_column_in_test
Browse files Browse the repository at this point in the history
  • Loading branch information
ywqzzy authored Aug 16, 2022
2 parents 8504906 + a89c8b6 commit f9f4141
Show file tree
Hide file tree
Showing 58 changed files with 569 additions and 5,311 deletions.
2 changes: 1 addition & 1 deletion dbms/src/DataStreams/IProfilingBlockInputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class IProfilingBlockInputStream : public IBlockInputStream

Block read() override final;

Block read(FilterPtr & res_filter, bool return_filter) override final;
Block read(FilterPtr & res_filter, bool return_filter) override;

/** The default implementation calls readPrefixImpl() on itself, and then readPrefix() recursively for all children.
* There are cases when you do not want `readPrefix` of children to be called synchronously, in this function,
Expand Down
9 changes: 8 additions & 1 deletion dbms/src/DataStreams/SharedQueryBlockInputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ class SharedQueryBlockInputStream : public IProfilingBlockInputStream
}

protected:
Block readImpl() override
/// The BlockStreamProfileInfo of SharedQuery is useless,
/// and it will trigger tsan UT fail because of data race.
/// So overriding method `read` here.
Block read(FilterPtr &, bool) override
{
std::unique_lock lock(mutex);

Expand All @@ -134,6 +137,10 @@ class SharedQueryBlockInputStream : public IProfilingBlockInputStream

return block;
}
Block readImpl() override
{
throw Exception("Unsupport");
}

void fetchBlocks()
{
Expand Down
239 changes: 0 additions & 239 deletions dbms/src/Databases/DatabaseDictionary.cpp

This file was deleted.

119 changes: 0 additions & 119 deletions dbms/src/Databases/DatabaseDictionary.h

This file was deleted.

Loading

0 comments on commit f9f4141

Please sign in to comment.