跳转至

Lead(Lead(前向偏移))

Supported in: Batch, Faster

Returns the value of the input at 'lead' after the current row in the window.

Expression categories: Aggregate

Declared arguments

  • Expression: Expression to lead.
    Expression\
  • optional Default value: Default value if there is less than offset rows before the current row.
    Literal\
  • optional Lead: Number of rows to lead.
    Literal\

Type variable bounds: T accepts AnyType

Output type: T


中文翻译

Lead(前向偏移)

支持:批处理(Batch)、快速处理(Faster)

返回窗口中当前行之后指定偏移行数的输入值。

表达式类别: 聚合(Aggregate)

声明的参数

  • 表达式(Expression): 要进行前向偏移的表达式。
    表达式\
  • 可选 默认值(Default value): 如果当前行之前的偏移行数不足时使用的默认值。
    字面量\
  • 可选 偏移行数(Lead): 向前偏移的行数。
    字面量\

类型变量约束: T 接受任意类型(AnyType)

输出类型: T