mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fixed code review issues
This commit is contained in:
parent
8fde34fc52
commit
7357c35197
@ -78,9 +78,10 @@ public:
|
||||
|
||||
/// Add columns from table with table_name into select expression list
|
||||
/// Use should_add_column_predicate for check if column name should be added
|
||||
/// By default should_add_column_predicate returns true for any column name
|
||||
void addTableColumns(
|
||||
const String & table_name,
|
||||
std::function<bool (const String&)> should_add_column_predicate = [](const String &){ return true; } )
|
||||
ShouldAddColumnPredicate should_add_column_predicate = [](const String &) { return true; })
|
||||
{
|
||||
auto it = table_columns.find(table_name);
|
||||
if (it == table_columns.end())
|
||||
|
Loading…
Reference in New Issue
Block a user