This problem is usually the data format is wrong, usually the data format of the table and the data format of sql do not match.
For example, the table definition bigint
, the following is avg ---> double
Another example is string
and numeric type