tencent cloud

Feedback

Description of Supported Aggregation Functions

Last updated: 2025-01-09 14:24:58
    Currently, the read-only analysis engine supports most of MySQL's aggregation functions, but there are still limitations and incompatibilities in certain scenarios. This document introduces the list of supported aggregation functions in the read-only analysis engine, and enumerates type restrictions on input parameters. Input parameters and functions not mentioned in the document are not supported.

    Supported Aggregation Function Types

    count Function

    Syntax: count(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    sum Function

    Syntax: sum(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    avg Function

    Syntax: avg(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    max Function

    Syntax: max(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    min Function

    Syntax: min(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    group_concat Function

    Syntax: group_concat(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

    any_value(arg) Function

    Syntax: any_value(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support