mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
22 lines
362 B
C++
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);
|
|
};
|
|
|
|
}
|
|
|
|
}
|