mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
trying this one..
This commit is contained in:
parent
c3274e24c0
commit
e6cd0de6ae
@ -360,7 +360,7 @@ struct ArrayAggregateImpl
|
||||
|
||||
static ColumnPtr execute(const ColumnArray & array, ColumnPtr mapped)
|
||||
{
|
||||
if (!mapped->isNumeric() && (aggregate_operation == AggregateOperation::max || aggregate_operation == AggregateOperation::min))
|
||||
if (!mapped->isNumeric() && !isNumber(array.getDataPtr()->getDataType()) && (aggregate_operation == AggregateOperation::max || aggregate_operation == AggregateOperation::min))
|
||||
{
|
||||
MutableColumnPtr res;
|
||||
const auto & column = array.getDataPtr();
|
||||
|
Loading…
Reference in New Issue
Block a user