mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix style check
This commit is contained in:
parent
9425be31b3
commit
6db3d54f9c
@ -184,17 +184,13 @@ std::optional<bsoncxx::document::value> StorageMongoDB::visitWhereFunction(const
|
||||
if (func->getArguments().getNodes().empty())
|
||||
return {};
|
||||
|
||||
std::cout << func->dumpTree() << std::endl;
|
||||
if (const auto & column = func->getArguments().getNodes().at(0)->as<ColumnNode>())
|
||||
{
|
||||
std::cout << column->dumpTree() << std::endl;
|
||||
// Skip unknows columns, which don't belong to the table.
|
||||
// Skip unknown columns, which don't belong to the table.
|
||||
const auto & table = column->getColumnSource()->as<TableNode>();
|
||||
if (!table)
|
||||
return {};
|
||||
|
||||
std::cout << table->getStorage()->getStorageID().getFullTableName() << std::endl;
|
||||
std::cout << this->getStorageID().getFullTableName() << std::endl;
|
||||
// Skip columns from other tables in JOIN queries.
|
||||
if (table->getStorage()->getStorageID().getFullTableName() != this->getStorageID().getFullTableName())
|
||||
return {};
|
||||
|
@ -560,6 +560,7 @@ MinMax
|
||||
MindsDB
|
||||
mongoc
|
||||
mongocxx
|
||||
Mongo
|
||||
Mongodb
|
||||
Monotonicity
|
||||
MsgPack
|
||||
|
Loading…
Reference in New Issue
Block a user