跳到主要内容
版本:0.14

表达式

聚合函数

Flow 支持标准 SQL 查询所支持的所有聚合函数,例如 COUNTSUMMINMAX 等。

有关详细的函数列表,请参阅 聚合函数

标量函数

Flow 支持标准 SQL 查询所支持的所有标量函数,详见我们的 SQL 参考

以下是一些 flow 中最常用的标量函数:

  • date_bin: calculate time intervals and returns the start of the interval nearest to the specified timestamp.
  • date_trunc: truncate a timestamp value to a specified precision.
  • trunc: truncate a number to a whole number or truncated to the specified decimal places.