mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Merge
This commit is contained in:
parent
4e66eb2884
commit
d5caf72ca7
@ -225,6 +225,11 @@ private:
|
|||||||
|
|
||||||
std::size_t getIdentifiersColumnSize(const IdentifierNameSet & identifiers) const
|
std::size_t getIdentifiersColumnSize(const IdentifierNameSet & identifiers) const
|
||||||
{
|
{
|
||||||
|
/** for expressions containing no columns (or where columns could not be determined otherwise) assume maximum
|
||||||
|
* possible size so they do not have priority in eligibility over other expressions. */
|
||||||
|
if (identifiers.empty())
|
||||||
|
return std::numeric_limits<std::size_t>::max();
|
||||||
|
|
||||||
std::size_t size{};
|
std::size_t size{};
|
||||||
|
|
||||||
for (const auto & identifier : identifiers)
|
for (const auto & identifier : identifiers)
|
||||||
|
Loading…
Reference in New Issue
Block a user