ClickHouse/dbms/include/DB/Functions/Conditional/NumericPerformer.h
Alexey Arno f2357d50b5 Merge
2016-04-18 17:31:32 +03:00

22 lines
362 B
C++

#pragma once
#include <DB/Core/Block.h>
#include <DB/Core/ColumnNumbers.h>
namespace DB
{
namespace Conditional
{
struct NumericPerformer
{
/// Perform a multiIf function for numeric branch (then, else) arguments
/// that may have either scalar types or array types.
static bool perform(Block & block, const ColumnNumbers & args, size_t result);
};
}
}