使用first()或last()返回输入表中的第一条或最后一条非空记录。 |> first() 将 first() 或 last() 与 aggregateWindow() 结合使用 |> aggregateWindow( every: 1h, fn: first ) 返回每个分组中第一条记录