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

NEXT

返回一个新列,其中每个值都表示源列中之后 n 行的值。

参数
  • sourceColumn:现有列的名称。

  • numRows:表示源列中之前 n 行的值。例如,如果 numRows 为 3,则 NEXT 使用接下来的第三个 sourceColumn 值作为新 targetColumn 值。

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

例 示例

{ "Action": { "Operation": "NEXT", "Parameters": { "numRows": "1", "sourceColumn": "age", "targetColumn": "age_NEXT" } } }