experimental.last() 函数
experimental.last() 根据可能会随时更改的实验性包。
experimental.last() 返回每个输入表中 _value 列中具有非空值的最后一条记录。
experimental.last() 删除空表。
函数类型签名
(<-tables: stream[{A with _value: B}]) => stream[{A with _value: B}]
有关更多信息,请参阅函数类型签名。
参数
tables
输入数据。 默认值为管道转发数据 (<-)。
示例
返回每个输入表中最后一个非空值
import "experimental"
import "sampledata"
sampledata.int(includeNull: true)
|> experimental.last()
此页是否对您有帮助?
感谢您的反馈!