Object value = PArrayDataType.instantiatePhoenixArray(arrayElemDataType, elements);
return LiteralExpression.newConstant(value,
PDataType.fromTypeId(arrayElemDataType.getSqlType() + Types.ARRAY), isDeterministic);
}
ArrayConstructorExpression arrayExpression = new ArrayConstructorExpression(children, arrayElemDataType);
return wrapGroupByExpression(arrayExpression);
}