Hi there, Could you try explicit convert, for instance ``` avg(cast(metric as float)) ```
On Thu, Apr 29, 2021 at 5:24 PM 邓书青 <[email protected]> wrote: > 我发现设置count,sum度量,然后用avg查出来的结果都自动取整了,怎样才能保留浮点数形式呢 > > > >
Hi there, Could you try explicit convert, for instance ``` avg(cast(metric as float)) ```
On Thu, Apr 29, 2021 at 5:24 PM 邓书青 <[email protected]> wrote: > 我发现设置count,sum度量,然后用avg查出来的结果都自动取整了,怎样才能保留浮点数形式呢 > > > >