PREV - Amazon Glue DataBrew
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

PREV

返回一个新列,其中每个值表示一个n行。

Parameters
  • sourceColumn— 现有列的名称。

  • numRows— 代表的值。n行。例如,如,如numRows为 3,则PREV使用前面的第三个sourceColumn值作为新的targetColumn值。

  • targetColumn— 新创建的列的名称。

例 Example

{ "Action": { "Operation": "PREV", "Parameters": { "numRows": "1", "sourceColumn": "age", "targetColumn": "age_PREV" } } }